driver/gpio: gpio-cherryview: call correct api to remove gpio device
PATCH 1/1 driver/gpio: gpio-cherryview: call correct api to remove gpio device
call correct api to remove gpio device.
Signed-off-by Hongzhan Chen <[email protected]>
kernel/drivers/gpio/gpio-cherryview.c +1 -1
@@ -35,7 +35,7 @@ module_init(cherryview_gpio_init); static void __exit cherryview_gpio_exit(void) { -rtdm_gpiochip_remove (RTDM_SUBCLASS_CHERRYVIEW ); +rtdm_gpiochip_remove_by_type (RTDM_SUBCLASS_CHERRYVIEW ); }module_exit (cherryview_gpio_exit);
Signature · 1 line
2.17.1
Quoted 10 lines · Hongzhan Chen via Xenomai
call correct api to remove gpio device.
Signed-off-by Hongzhan Chen <[email protected]>kernel/drivers/gpio/gpio-cherryview.c +0
-0
kernel/drivers/gpio/gpio-cherryview.c module_init(cherryview_gpio_init); · line 41
Quoted 8 lines
kernel/drivers/gpio/gpio-cherryview.c +1
-1@@ -35,7 +35,7 @@ module_init(cherryview_gpio_init); static void __exit cherryview_gpio_exit(void) { -rtdm_gpiochip_remove (RTDM_SUBCLASS_CHERRYVIEW ); +rtdm_gpiochip_remove_by_type (RTDM_SUBCLASS_CHERRYVIEW ); }module_exit (cherryview_gpio_exit);
Oh, indeed. Please send a new version of the affected commit (top of next right now anyway). And please also update the kernel configs for CI (xenomai/.gitlab-ci.yml) at this chance so that this new driver is built whenever possible.
We may also want to enable it in xenomai-images eventually.
Jan
Signature · 2 lines
Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux