diff options
author | Kim, Milo <Milo.Kim@ti.com> | 2013-01-02 22:28:12 -0800 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-02-01 17:47:05 -0800 |
commit | a1932edf8baaf2b09ad72b119c1f9749ad4397f2 (patch) | |
tree | 486cb7da402679943d8b85b48c86c3797fe7035f /virt | |
parent | 08541cbcc7386fa78efb454a92ddbfb1a2859cf9 (diff) |
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 'virt')
0 files changed, 0 insertions, 0 deletions