diff options
Diffstat (limited to 'drivers/gpio/gpio-clps711x.c')
-rw-r--r-- | drivers/gpio/gpio-clps711x.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/gpio/gpio-clps711x.c b/drivers/gpio/gpio-clps711x.c index 3a7e6b6c20..44f40c36e4 100644 --- a/drivers/gpio/gpio-clps711x.c +++ b/drivers/gpio/gpio-clps711x.c @@ -74,9 +74,4 @@ static struct driver_d clps711x_gpio_driver = { .probe = clps711x_gpio_probe, .of_compatible = DRV_OF_COMPAT(clps711x_gpio_dt_ids), }; - -static __init int clps711x_gpio_register(void) -{ - return platform_driver_register(&clps711x_gpio_driver); -} -coredevice_initcall(clps711x_gpio_register); +coredevice_platform_driver(clps711x_gpio_driver); |