Re: [PATCH 01/23] asus-wmi: Remove __init from asus_wmi_platform_init
From: Corentin Chary
Date: Thu Mar 31 2011 - 03:17:56 EST
On Wed, Mar 30, 2011 at 12:21 AM, Joe Perches <joe@xxxxxxxxxxx> wrote:
> It's used by a non-init function.
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
Acked-by: Corentin Chary <corentincj@xxxxxxxxxx>
> ---
> Âdrivers/platform/x86/asus-wmi.c | Â Â2 +-
> Â1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c
> index efc776c..c382af6 100644
> --- a/drivers/platform/x86/asus-wmi.c
> +++ b/drivers/platform/x86/asus-wmi.c
> @@ -1223,7 +1223,7 @@ static int asus_wmi_sysfs_init(struct platform_device *device)
> Â/*
> Â* Platform device
> Â*/
> -static int __init asus_wmi_platform_init(struct asus_wmi *asus)
> +static int asus_wmi_platform_init(struct asus_wmi *asus)
> Â{
> Â Â Â Âint rv;
>
> --
> 1.7.4.2.g597a6.dirty
>
>
--
Corentin Chary
http://xf.iksaif.net
--
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/