Tejun Heo
d73ce00422
driver/base: implement subsys_virtual_register()
...
Kay tells me the most appropriate place to expose workqueues to
userland would be /sys/devices/virtual/workqueues/WQ_NAME which is
symlinked to /sys/bus/workqueue/devices/WQ_NAME and that we're lacking
a way to do that outside of driver core as virtual_device_parent()
isn't exported and there's no inteface to conveniently create a
virtual subsystem.
This patch implements subsys_virtual_register() by factoring out
subsys_register() from subsys_system_register() and using it with
virtual_device_parent() as the origin directory. It's identical to
subsys_system_register() other than the origin directory but we aren't
gonna restrict the device names which should be used under it.
This will be used to expose workqueue attributes to userland.
Signed-off-by: Tejun Heo <tj@kernel.org >
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Cc: Kay Sievers <kay.sievers@vrfy.org >
2013-03-12 11:36:35 -07:00
..
2013-03-02 09:34:39 -08:00
2013-03-03 11:54:39 -08:00
2013-02-24 17:32:15 -08:00
2013-02-27 19:10:24 -08:00
2013-01-03 15:57:16 -08:00
2013-03-12 11:36:35 -07:00
2013-02-14 14:23:33 -05:00
2013-02-28 17:43:09 -08:00
2013-02-21 17:40:58 -08:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:16 -08:00
2013-02-27 19:10:21 -08:00
2013-02-27 19:10:24 -08:00
2013-03-03 12:06:09 -08:00
2013-02-18 14:53:08 -05:00
2013-02-25 21:25:17 -08:00
2013-02-21 15:27:22 -08:00
2013-02-25 15:56:15 -08:00
2013-02-27 19:10:15 -08:00
2013-01-29 10:48:30 +01:00
2013-03-03 10:20:22 -08:00
2013-02-28 20:42:33 -08:00
2013-02-21 13:57:13 -08:00
2013-02-27 19:10:15 -08:00
2013-02-27 16:17:42 -08:00
2013-02-27 19:10:15 -08:00
2013-02-27 19:10:24 -08:00
2013-02-26 20:16:07 -08:00
2013-03-01 13:39:00 -08:00
2013-02-27 10:15:53 -08:00
2013-02-20 11:26:56 -08:00
2012-11-28 11:41:36 -08:00
2013-02-27 19:10:20 -08:00
2013-02-26 20:16:07 -08:00
2013-02-22 19:25:09 -08:00
2013-02-21 12:11:44 -08:00
2013-02-27 19:10:24 -08:00
2013-03-03 12:58:43 -08:00
2013-02-26 20:16:07 -08:00
2013-02-21 13:57:13 -08:00
2013-03-03 12:06:09 -08:00
2013-02-27 19:10:24 -08:00
2013-02-26 09:29:02 -08:00
2013-02-26 14:49:12 -08:00
2013-02-23 17:09:55 -08:00
2013-02-02 00:01:15 +01:00
2013-03-01 22:45:52 +00:00
2013-02-28 20:00:40 -08:00
2013-01-22 11:41:56 -08:00
2013-02-27 19:10:23 -08:00
2013-01-03 15:57:14 -08:00
2013-02-27 19:10:17 -08:00
2013-03-02 08:31:39 -08:00
2013-03-03 00:32:50 +00:00
2013-03-02 16:33:54 -08:00
2013-03-02 07:44:16 -08:00
2013-02-18 13:47:13 -05:00
2013-01-21 14:34:21 -08:00
2013-02-21 17:40:58 -08:00
2013-02-22 23:31:38 -05:00
2013-02-26 20:16:07 -08:00
2013-02-21 17:54:03 -08:00
2013-02-27 19:10:24 -08:00
2013-02-21 17:40:58 -08:00
2013-02-21 15:38:49 -08:00
2013-03-03 10:16:19 -08:00
2013-02-26 20:16:07 -08:00
2013-02-27 19:10:18 -08:00
2013-02-27 19:10:23 -08:00
2013-01-03 15:57:16 -08:00
2012-12-12 18:07:07 -08:00
2013-02-26 09:34:29 -08:00
2012-12-11 13:13:55 -08:00
2013-02-19 12:43:12 +00:00
2013-02-27 19:10:18 -08:00
2013-02-27 19:10:18 -08:00
2013-03-01 12:40:36 +01:00
2013-02-28 09:37:12 +01:00
2013-02-26 20:16:07 -08:00
2013-03-02 11:42:16 -08:00
2013-01-29 08:56:25 -08:00
2013-01-03 15:57:16 -08:00
2013-02-21 15:27:22 -08:00
2013-02-22 10:07:30 +01:00
2013-03-03 13:23:03 -08:00
2013-03-02 11:43:27 -08:00
2013-02-28 20:23:09 -08:00
2013-03-03 13:23:03 -08:00
2013-02-27 19:10:19 -08:00
2013-03-03 10:24:57 -08:00
2013-02-06 12:18:56 -08:00
2013-02-27 19:10:19 -08:00
2013-02-26 11:42:23 -08:00
2013-02-27 19:10:09 -08:00
2012-12-18 09:58:09 -08:00
2013-02-26 14:49:12 -08:00
2013-01-17 12:11:27 -08:00
2013-02-14 09:24:14 -08:00
2013-02-28 19:59:34 -08:00
2013-03-01 12:56:26 +01:00
2013-03-03 14:22:53 -08:00
2013-02-22 23:31:31 -05:00
2013-02-21 13:57:13 -08:00
2013-02-23 17:09:55 -08:00