diff options
author | Christophe Leroy | 2017-12-13 12:26:23 +0100 |
---|---|---|
committer | Scott Wood | 2018-01-20 23:29:02 -0600 |
commit | c095ff93f901c1620b28dce4d813dd548bc5236b (patch) | |
tree | 55eae5b85d07619c35e7f7053568559d9f1a1545 /tools/leds/led_hw_brightness_mon.c | |
parent | d038386a0cecaf5283745f951bc35c49bd78da22 (diff) |
powerpc/sysdev: change CPM GPIO to platform_device
Since commit 9427ecbed46cc ("gpio: Rework of_gpiochip_set_names()
to use device property accessors"), gpio chips have to have a
parent, otherwise devprop_gpiochip_set_names() prematurely exists
with message "GPIO chip parent is NULL" and doesn't proceed
'gpio-line-names' DT property.
This patch wraps the CPM GPIO into a platform driver to allow
assignment of the parent device.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <oss@buserror.net>
Diffstat (limited to 'tools/leds/led_hw_brightness_mon.c')
0 files changed, 0 insertions, 0 deletions