Re: [PATCH] leds: leds-lm3530: Add __devexit_p at necessary place

From: Linus Walleij
Date: Wed Oct 05 2011 - 17:07:44 EST


2011/10/5 Axel Lin <axel.lin@xxxxxxxxx>:

> According to the comments in include/linux/init.h:
>
> "Pointers to __devexit functions must use __devexit_p(function_name), the
> wrapper will insert either the function_name or NULL, depending on the config
> options."
>
> We have __devexit annotation for lm3530_remove(), thus add __devexit_p at
> necessary place.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>

Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Thanks Axel,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/