PNP: tpm/tpm_infineon: Use module_pnp_driver to register driver
authorPeter Huewe <PeterHuewe@gmx.de>
Mon, 16 Mar 2015 20:46:31 +0000 (21:46 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 18 Mar 2015 21:39:17 +0000 (22:39 +0100)
commit1551660369d00a7e8cdfa12e9af132053eb67140
tree2d92c85352ff6c770d1171818fd9d2d95634c968
parent95c0fd457b03099b5ce385f3982e06d01ad42c5c
PNP: tpm/tpm_infineon: Use module_pnp_driver to register driver

Removing some boilerplate by using module_pnp_driver instead of calling
register and unregister in the otherwise empty init/exit functions

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/char/tpm/tpm_infineon.c