[PATCH 03/18] drivers: gpio: treewide: [cosmetic] use register_driver_macros

Sascha Hauer s.hauer at pengutronix.de
Tue Sep 29 04:20:25 EDT 2020


On Mon, Sep 28, 2020 at 05:50:26PM +0200, Marco Felsch wrote:
> Use the existing macros to register the drivers. No functional changes
> except for the gpio-mxs and gpio-imx driver. Now they do not ignore the
> return values anymore.
> 
> Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
> ---
>  drivers/gpio/gpio-ath79.c          | 7 +------
>  drivers/gpio/gpio-davinci.c        | 7 +------
>  drivers/gpio/gpio-digic.c          | 7 +------
>  drivers/gpio/gpio-dw.c             | 7 +------
>  drivers/gpio/gpio-generic.c        | 7 +------
>  drivers/gpio/gpio-imx.c            | 8 +-------
>  drivers/gpio/gpio-jz4740.c         | 7 +------
>  drivers/gpio/gpio-malta-fpga-i2c.c | 7 +------
>  drivers/gpio/gpio-mpc8xxx.c        | 7 +------
>  drivers/gpio/gpio-mxs.c            | 8 +-------
>  drivers/gpio/gpio-omap.c           | 7 +------
>  drivers/gpio/gpio-stmpe.c          | 7 +------
>  drivers/gpio/gpio-tegra.c          | 7 +------
>  drivers/gpio/gpio-vf610.c          | 7 +------
>  14 files changed, 14 insertions(+), 86 deletions(-)

I already had a patch which does this change for all drivers. I just
sent it out.

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list