summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-lm3530.c
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2013-01-03 06:28:12 (GMT)
committerBryan Wu <cooloney@gmail.com>2013-02-02 01:47:05 (GMT)
commita1932edf8baaf2b09ad72b119c1f9749ad4397f2 (patch)
tree486cb7da402679943d8b85b48c86c3797fe7035f /drivers/leds/leds-lm3530.c
parent08541cbcc7386fa78efb454a92ddbfb1a2859cf9 (diff)
downloadlinux-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/leds/leds-lm3530.c')
0 files changed, 0 insertions, 0 deletions