diff options
author | PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> | 2016-08-25 19:00:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-31 14:12:35 +0200 |
commit | d6a38c0ba778abd6683858bfd7c768f7edab2ebb (patch) | |
tree | c551509f81466432748179919b33775292e24abc /drivers/misc/genwqe/card_base.c | |
parent | miscdevice: Add helper macro for misc device boilerplate (diff) | |
download | linux-d6a38c0ba778abd6683858bfd7c768f7edab2ebb.tar.xz linux-d6a38c0ba778abd6683858bfd7c768f7edab2ebb.zip |
miscdevice: Use module_misc_device() macro
This patch removes module_init()/module_exit() from driver code by using
module_misc_device() macro. All modules in this patch has a print
statement which is removed when module_misc_device() macro is used.
If undesirable this patch can be dropped entirely, this is the only
purpose of making this as a separate patch.
Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/genwqe/card_base.c')
0 files changed, 0 insertions, 0 deletions