Searched hist:ca75d601 (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/arch/arm/common/ |
H A D | bL_switcher_dummy_if.c | ca75d601 Thu Aug 25 12:00:49 CDT 2016 PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> miscdevice: Add helper macro for misc device boilerplate
Many modules call misc_register and misc_deregister in its module init and exit methods without any additional code. This ends up being boilerplate. This patch adds helper macro module_misc_device(), that replaces module_init()/ module_exit() with template functions.
This patch also converts drivers to use new macro.
Change since v1: Add device.h include in miscdevice.h as module_driver macro was not available from other include files in some architectures.
Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> ca75d601 Thu Aug 25 12:00:49 CDT 2016 PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> miscdevice: Add helper macro for misc device boilerplate Many modules call misc_register and misc_deregister in its module init and exit methods without any additional code. This ends up being boilerplate. This patch adds helper macro module_misc_device(), that replaces module_init()/ module_exit() with template functions. This patch also converts drivers to use new macro. Change since v1: Add device.h include in miscdevice.h as module_driver macro was not available from other include files in some architectures. Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
/openbmc/linux/drivers/s390/char/ |
H A D | sclp_ctl.c | ca75d601 Thu Aug 25 12:00:49 CDT 2016 PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> miscdevice: Add helper macro for misc device boilerplate
Many modules call misc_register and misc_deregister in its module init and exit methods without any additional code. This ends up being boilerplate. This patch adds helper macro module_misc_device(), that replaces module_init()/ module_exit() with template functions.
This patch also converts drivers to use new macro.
Change since v1: Add device.h include in miscdevice.h as module_driver macro was not available from other include files in some architectures.
Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> ca75d601 Thu Aug 25 12:00:49 CDT 2016 PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> miscdevice: Add helper macro for misc device boilerplate Many modules call misc_register and misc_deregister in its module init and exit methods without any additional code. This ends up being boilerplate. This patch adds helper macro module_misc_device(), that replaces module_init()/ module_exit() with template functions. This patch also converts drivers to use new macro. Change since v1: Add device.h include in miscdevice.h as module_driver macro was not available from other include files in some architectures. Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
/openbmc/linux/drivers/vhost/ |
H A D | test.c | ca75d601 Thu Aug 25 12:00:49 CDT 2016 PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> miscdevice: Add helper macro for misc device boilerplate
Many modules call misc_register and misc_deregister in its module init and exit methods without any additional code. This ends up being boilerplate. This patch adds helper macro module_misc_device(), that replaces module_init()/ module_exit() with template functions.
This patch also converts drivers to use new macro.
Change since v1: Add device.h include in miscdevice.h as module_driver macro was not available from other include files in some architectures.
Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> ca75d601 Thu Aug 25 12:00:49 CDT 2016 PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> miscdevice: Add helper macro for misc device boilerplate Many modules call misc_register and misc_deregister in its module init and exit methods without any additional code. This ends up being boilerplate. This patch adds helper macro module_misc_device(), that replaces module_init()/ module_exit() with template functions. This patch also converts drivers to use new macro. Change since v1: Add device.h include in miscdevice.h as module_driver macro was not available from other include files in some architectures. Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
/openbmc/linux/include/linux/ |
H A D | miscdevice.h | ca75d601 Thu Aug 25 12:00:49 CDT 2016 PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> miscdevice: Add helper macro for misc device boilerplate
Many modules call misc_register and misc_deregister in its module init and exit methods without any additional code. This ends up being boilerplate. This patch adds helper macro module_misc_device(), that replaces module_init()/ module_exit() with template functions.
This patch also converts drivers to use new macro.
Change since v1: Add device.h include in miscdevice.h as module_driver macro was not available from other include files in some architectures.
Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> ca75d601 Thu Aug 25 12:00:49 CDT 2016 PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> miscdevice: Add helper macro for misc device boilerplate Many modules call misc_register and misc_deregister in its module init and exit methods without any additional code. This ends up being boilerplate. This patch adds helper macro module_misc_device(), that replaces module_init()/ module_exit() with template functions. This patch also converts drivers to use new macro. Change since v1: Add device.h include in miscdevice.h as module_driver macro was not available from other include files in some architectures. Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
/openbmc/linux/drivers/hid/ |
H A D | uhid.c | ca75d601 Thu Aug 25 12:00:49 CDT 2016 PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> miscdevice: Add helper macro for misc device boilerplate
Many modules call misc_register and misc_deregister in its module init and exit methods without any additional code. This ends up being boilerplate. This patch adds helper macro module_misc_device(), that replaces module_init()/ module_exit() with template functions.
This patch also converts drivers to use new macro.
Change since v1: Add device.h include in miscdevice.h as module_driver macro was not available from other include files in some architectures.
Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> ca75d601 Thu Aug 25 12:00:49 CDT 2016 PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> miscdevice: Add helper macro for misc device boilerplate Many modules call misc_register and misc_deregister in its module init and exit methods without any additional code. This ends up being boilerplate. This patch adds helper macro module_misc_device(), that replaces module_init()/ module_exit() with template functions. This patch also converts drivers to use new macro. Change since v1: Add device.h include in miscdevice.h as module_driver macro was not available from other include files in some architectures. Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
/openbmc/linux/drivers/input/misc/ |
H A D | uinput.c | ca75d601 Thu Aug 25 12:00:49 CDT 2016 PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> miscdevice: Add helper macro for misc device boilerplate
Many modules call misc_register and misc_deregister in its module init and exit methods without any additional code. This ends up being boilerplate. This patch adds helper macro module_misc_device(), that replaces module_init()/ module_exit() with template functions.
This patch also converts drivers to use new macro.
Change since v1: Add device.h include in miscdevice.h as module_driver macro was not available from other include files in some architectures.
Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> ca75d601 Thu Aug 25 12:00:49 CDT 2016 PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> miscdevice: Add helper macro for misc device boilerplate Many modules call misc_register and misc_deregister in its module init and exit methods without any additional code. This ends up being boilerplate. This patch adds helper macro module_misc_device(), that replaces module_init()/ module_exit() with template functions. This patch also converts drivers to use new macro. Change since v1: Add device.h include in miscdevice.h as module_driver macro was not available from other include files in some architectures. Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|