[PATCH 2/3] staging: vme: Add missing CR in error message

Martyn Welch martyn.welch at ge.com
Tue Jul 22 10:29:34 UTC 2014



On 18/07/14 16:33, Masanari Iida wrote:
> This patch adds missing CR in dev_err message.
>
> Signed-off-by: Masanari Iida <standby24x7 at gmail.com>

Acked-by: Martyn Welch <martyn.welch at ge.com>

> ---
>   drivers/staging/vme/devices/vme_pio2_gpio.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/vme/devices/vme_pio2_gpio.c b/drivers/staging/vme/devices/vme_pio2_gpio.c
> index 55c009c..f00af07 100644
> --- a/drivers/staging/vme/devices/vme_pio2_gpio.c
> +++ b/drivers/staging/vme/devices/vme_pio2_gpio.c
> @@ -222,7 +222,7 @@ void pio2_gpio_exit(struct pio2_card *card)
>   	const char *label = card->gc.label;
>
>   	if (gpiochip_remove(&(card->gc)))
> -		dev_err(&card->vdev->dev, "Failed to remove GPIO");
> +		dev_err(&card->vdev->dev, "Failed to remove GPIO\n");
>
>   	kfree(label);
>   }
>

-- 
Martyn Welch (Lead Software Engineer)  | Registered in England and Wales
GE Intelligent Platforms               | (3828642) at 100 Barbirolli Square
T +44(0)1327322748                     | Manchester, M2 3AB
E martyn.welch at ge.com                  | VAT:GB 927559189


More information about the devel mailing list