aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/cpm_gpio.c
AgeCommit message (Collapse)AuthorFilesLines
2018-06-03powerpc: cpm_gpio: Remove owner assignment from platform_driverFabio Estevam1-1/+0
Structure platform_driver does not need to set the owner field, as this will be populated by the driver core. Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci. Signed-off-by: Fabio Estevam <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
2018-01-20powerpc/sysdev: change CPM GPIO to platform_deviceChristophe Leroy1-0/+80
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 <[email protected]> Signed-off-by: Scott Wood <[email protected]>