drivers: char: use module_platform_driver_probe()
authorFabio Porcedda <fabio.porcedda@gmail.com>
Thu, 14 Mar 2013 17:09:33 +0000 (18:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Mar 2013 19:24:20 +0000 (12:24 -0700)
commite7c2199ff300fcf88673a1cf6d7229e6c3da09de
tree1a4ca4cdbf3c511d8065d30d22d85abad666fe7c
parent2154e0a4f43e0c811737e391e7981d331e450d42
drivers: char: use module_platform_driver_probe()

This patch converts the drivers to use the
module_platform_driver_probe() macro which makes the code smaller and
a bit simpler.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Matt Mackall <mpm@selenic.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/hw_random/mxc-rnga.c
drivers/char/hw_random/tx4939-rng.c