w1: mxc_w1: Convert to platform driver
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 19 Nov 2012 12:19:48 +0000 (10:19 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 20:40:14 +0000 (12:40 -0800)
commitfd21bfcc2d6e8b7fef20f05deef318b0ab7f8004
tree10ed1c225295abd904148fc19f48de213aa0f7ab
parent99ba2fd297ed475dc6782e9029d4da041a85706a
w1: mxc_w1: Convert to platform driver

Using module_platform_driver() makes the code smaller and cleaner.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/masters/mxc_w1.c