[PATCH 4/5] GPIO: i.MX: Cleanup driver code
Sascha Hauer
s.hauer at pengutronix.de
Mon Apr 22 12:58:35 EDT 2013
On Sat, Apr 20, 2013 at 08:18:51AM +0400, Alexander Shiyan wrote:
> This patch provides only cleanup for i.MX GPIO driver.
> Indentation, reduced licence text etc.
>
> Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
> ---
> drivers/gpio/gpio-imx.c | 34 ++++++++++++----------------------
> 1 file changed, 12 insertions(+), 22 deletions(-)
>
> diff --git a/drivers/gpio/gpio-imx.c b/drivers/gpio/gpio-imx.c
> index 9dcabfc..f56346b 100644
> --- a/drivers/gpio/gpio-imx.c
> +++ b/drivers/gpio/gpio-imx.c
> @@ -1,23 +1,14 @@
> /*
> - * arch/arm/mach-imx/gpio.c
> + * GPIO driver for i.MX machines
This hunk is good.
> *
> * author: Sascha Hauer
> * Created: april 20th, 2004
> * Copyright: Synertronixx GmbH
> *
> - * Common code for i.MX machines
> - *
Ok aswell.
> static int imx_gpio_add(void)
> {
> - platform_driver_register(&imx_gpio_driver);
> - return 0;
> + return platform_driver_register(&imx_gpio_driver);
Also fine. Drop the remaining hunks please.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list