diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2015-06-09 12:17:07 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-06-22 12:25:30 +0100 |
commit | 1abf25a25b86dcfe28d243a5af71bd1c9d6de1ef (patch) | |
tree | a7b19d8cc23079f8b9c6cedbefc0250ab7952fa4 /drivers/regulator | |
parent | ef76cc5bae0be6e382af0596fc9eb59d0546d50b (diff) |
mfd: lpc_ich: Assign subdevice ids automatically
Using -1 as platform device id means that the platform driver core will not
assign any id to the device (the device name will not have id at all). This
results problems on systems that have multiple PCHs (Platform Controller
HUBs) because all of them also include their own copy of LPC device.
All the subsequent device creations will fail because there already exists
platform device with the same name.
Fix this by passing PLATFORM_DEVID_AUTO as platform device id. This makes
the platform device core to allocate new ids automatically.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/regulator')
0 files changed, 0 insertions, 0 deletions