diff options
author | Kim, Milo <Milo.Kim@ti.com> | 2013-01-03 06:28:12 (GMT) |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-02-02 01:47:05 (GMT) |
commit | a1932edf8baaf2b09ad72b119c1f9749ad4397f2 (patch) | |
tree | 486cb7da402679943d8b85b48c86c3797fe7035f /drivers/acpi/pci_root.c | |
parent | 08541cbcc7386fa78efb454a92ddbfb1a2859cf9 (diff) | |
download | linux-a1932edf8baaf2b09ad72b119c1f9749ad4397f2.tar.xz |
leds-lp8788: fix a parent device in _probe()
The lp8788-keyled is a platform driver of lp8788-mfd. The platform
device is allocated when mfd_add_devices() is called in lp8788-mfd.
On the other hand, 'lp->dev' is the i2c client device.
Therefore, this 'platform_device' is a proper parent device in case
of resource managed mem alloc, registering led device and device
kernel messages.
Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/acpi/pci_root.c')
0 files changed, 0 insertions, 0 deletions