lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <e19a6fb2-e3ad-f3a8-1db8-62604be2407f@samsung.com>
Date:   Wed, 23 Nov 2016 16:49:09 +0100
From:   Jacek Anaszewski <j.anaszewski@...sung.com>
To:     Geliang Tang <geliangtang@...il.com>,
        Richard Purdie <rpurdie@...ys.net>, Pavel Machek <pavel@....cz>
Cc:     linux-leds@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] leds: leds-cobalt-raq: use builtin_platform_driver

Hi Geliang,

Thanks for the patch.

Applied to the for-next branch of liunx-leds.git.

Best regards,
Jacek Anaszewski

On 11/23/2016 03:50 PM, Geliang Tang wrote:
> Use builtin_platform_driver() helper to simplify the code.
>
> Signed-off-by: Geliang Tang <geliangtang@...il.com>
> ---
>  drivers/leds/leds-cobalt-raq.c | 6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/drivers/leds/leds-cobalt-raq.c b/drivers/leds/leds-cobalt-raq.c
> index b316df4..8d066fa 100644
> --- a/drivers/leds/leds-cobalt-raq.c
> +++ b/drivers/leds/leds-cobalt-raq.c
> @@ -115,8 +115,4 @@ static struct platform_driver cobalt_raq_led_driver = {
>  	},
>  };
>
> -static int __init cobalt_raq_led_init(void)
> -{
> -	return platform_driver_register(&cobalt_raq_led_driver);
> -}
> -device_initcall(cobalt_raq_led_init);
> +builtin_platform_driver(cobalt_raq_led_driver);
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ