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] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 19 Dec 2011 23:14:55 +0000
From:	Florian Tobias Schandinat <FlorianSchandinat@....de>
To:	Axel Lin <axel.lin@...il.com>
CC:	linux-kernel@...r.kernel.org, Mike Rapoport <mike@...pulab.co.il>,
	linux-fbdev@...r.kernel.org
Subject: Re: [PATCH 1/3] video: convert mbxfb to use module_platform_driver()

On 12/09/2011 01:57 AM, Axel Lin wrote:
> This patch converts mbxfb to use the module_platform_driver() macro
> which makes the code smaller and a bit simpler.
> 
> Cc: Mike Rapoport <mike@...pulab.co.il>
> Signed-off-by: Axel Lin <axel.lin@...il.com>

Applied.


Thanks,

Florian Tobias Schandinat

> ---
>  drivers/video/mbx/mbxfb.c |   13 +------------
>  1 files changed, 1 insertions(+), 12 deletions(-)
> 
> diff --git a/drivers/video/mbx/mbxfb.c b/drivers/video/mbx/mbxfb.c
> index 6ce3416..55bf619 100644
> --- a/drivers/video/mbx/mbxfb.c
> +++ b/drivers/video/mbx/mbxfb.c
> @@ -1053,18 +1053,7 @@ static struct platform_driver mbxfb_driver = {
>  	},
>  };
>  
> -int __devinit mbxfb_init(void)
> -{
> -	return platform_driver_register(&mbxfb_driver);
> -}
> -
> -static void __devexit mbxfb_exit(void)
> -{
> -	platform_driver_unregister(&mbxfb_driver);
> -}
> -
> -module_init(mbxfb_init);
> -module_exit(mbxfb_exit);
> +module_platform_driver(mbxfb_driver);
>  
>  MODULE_DESCRIPTION("loadable framebuffer driver for Marathon device");
>  MODULE_AUTHOR("Mike Rapoport, Compulab");

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ