[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKnu2Mozhki9Cgst12HH=aqxFOnt3T4EbLm7eZyzTf_i_U0vQA@mail.gmail.com>
Date: Wed, 5 Oct 2011 23:07:39 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Axel Lin <axel.lin@...il.com>
Cc: linux-kernel@...r.kernel.org,
Shreshtha Kumar SAHU <shreshthakumar.sahu@...ricsson.com>,
Richard Purdie <rpurdie@...ys.net>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] leds: leds-lm3530: Add __devexit_p at necessary place
2011/10/5 Axel Lin <axel.lin@...il.com>:
> 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@...il.com>
Acked-by: Linus Walleij <linus.walleij@...aro.org>
Thanks Axel,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists