PrasannaKumar Muralidharan
ca75d601b5
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 >
2016-08-31 14:12:35 +02:00
..
2016-08-08 09:26:13 -07:00
2016-07-27 14:03:52 -07:00
2016-07-19 11:30:26 -07:00
2016-08-05 23:26:16 -04:00
2016-07-25 11:09:19 -07:00
2016-08-11 14:10:23 -07:00
2016-07-18 10:13:02 +02:00
2016-08-01 18:36:01 -04:00
2016-07-12 08:24:50 -07:00
2016-08-30 14:45:50 +02:00
2016-08-02 17:31:41 -04:00
2016-08-10 14:36:23 +02:00
2016-08-12 22:53:58 +02:00
2016-07-30 21:01:36 -07:00
2016-08-01 14:28:42 -04:00
2016-07-28 15:45:17 -07:00
2016-07-18 14:10:49 +02:00
2016-07-27 13:40:47 -07:00
2016-08-11 13:55:36 +02:00
2016-08-04 08:50:07 -04:00
2016-07-26 19:16:01 -07:00
2016-08-09 13:01:47 +10:00
2016-08-31 14:12:35 +02:00
2016-08-31 13:05:42 +02:00
2016-08-01 16:49:13 -04:00
2016-08-31 13:05:44 +02:00
2016-07-30 21:01:36 -07:00
2016-07-29 13:29:06 -07:00
2016-07-30 12:56:26 -07:00
2016-08-31 14:11:33 +02:00
2016-08-04 20:26:31 -04:00
2016-08-31 14:12:35 +02:00
2016-08-04 08:50:07 -04:00
2016-08-04 08:50:07 -04:00
2016-07-30 21:01:36 -07:00
2016-07-20 17:37:01 -06:00
2016-07-30 21:01:36 -07:00
2016-07-28 21:27:31 +05:30
2016-08-31 13:16:24 +02:00
2016-08-07 14:41:02 -06:00
2016-08-04 09:59:37 -04:00
2016-08-02 17:05:11 -04:00
2016-08-02 17:31:41 -04:00
2016-08-01 18:36:01 -04:00
2016-08-31 14:11:33 +02:00
2016-07-31 21:36:58 -04:00
2016-08-04 19:51:49 -04:00
2016-08-06 09:20:13 -04:00
2016-07-20 23:39:36 -07:00
2016-08-05 10:34:13 -04:00
2016-08-08 09:26:14 -07:00
2016-08-11 09:35:57 -06:00
2016-08-05 11:21:36 -07:00
2016-08-04 08:50:07 -04:00
2016-08-09 09:19:32 +02:00
2016-08-09 17:57:39 +01:00
2016-07-31 21:36:58 -04:00
2016-07-28 17:06:51 -07:00
2016-08-08 11:00:21 -07:00
2016-07-27 18:52:54 +02:00
2016-08-01 18:36:01 -04:00
2016-07-23 10:25:54 +09:00
2016-08-06 00:01:33 -04:00
2016-08-10 16:40:56 -07:00
2016-08-06 00:01:33 -04:00
2016-08-04 08:50:07 -04:00
2016-08-05 09:48:22 -04:00
2016-08-31 14:12:35 +02:00
2016-08-09 10:17:42 -07:00
2016-08-01 18:36:01 -04:00
2016-08-01 18:37:45 -04:00
2016-08-07 10:01:14 -04:00
2016-08-07 14:41:02 -06:00
2016-08-08 10:59:35 +08:00
2016-08-04 08:50:07 -04:00
2016-08-31 13:07:30 +02:00
2016-08-05 23:07:43 -04:00
2016-08-08 16:16:23 -06:00
2016-08-31 14:12:35 +02:00
2016-08-04 08:50:07 -04:00
2016-08-09 13:42:35 +03:00
2016-08-31 13:21:12 +02:00
2016-08-31 13:56:05 +02:00
2016-07-27 10:47:43 +02:00
2016-08-04 08:50:07 -04:00
2016-08-06 09:20:13 -04:00