Logan Gunthorpe
38923911dc
iio:core: utilize new cdev_device_add helper function
...
Replace the open coded registration of the cdev and dev with the
new device_add_cdev() helper. The helper replaces a common pattern by
taking the proper reference against the parent device and adding both
the cdev and the device.
In doing so we have to remove a guard statement from cdev_del,
but this doesn't appear to be required in any way.
Signed-off-by: Logan Gunthorpe <logang@deltatee.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-03-21 06:44:33 +01:00
..
2017-03-07 14:47:24 -08:00
2017-03-17 15:10:49 +09:00
2017-03-03 21:36:56 -08:00
2017-03-17 15:10:50 +09:00
2017-03-03 11:38:56 -08:00
2017-03-10 11:05:47 -08:00
2017-03-21 06:44:33 +01:00
2017-03-03 16:15:48 -08:00
2017-03-09 15:12:27 +01:00
2017-03-03 10:16:38 -08:00
2017-03-09 17:01:09 -08:00
2017-03-21 06:44:32 +01:00
2017-03-07 14:25:48 -08:00
2017-03-17 15:10:48 +09:00
2017-03-21 06:44:33 +01:00
2017-03-10 09:53:00 -08:00
2017-03-17 15:10:49 +09:00
2017-03-09 16:41:48 +01:00
2017-03-02 17:41:27 -08:00
2017-03-21 06:44:33 +01:00
2017-03-21 06:44:33 +01:00
2017-03-21 06:44:32 +01:00
2017-03-09 12:06:41 +01:00
2017-03-09 17:01:09 -08:00
2017-03-09 17:01:10 -08:00
2017-03-10 08:34:42 -08:00
2017-03-17 15:10:49 +09:00
2017-03-09 17:01:09 -08:00
2017-03-09 17:01:09 -08:00
2017-03-03 10:53:35 -08:00
2017-03-03 16:20:06 -08:00
2017-03-07 14:23:30 -06:00
2017-03-06 14:38:05 +01:00
2017-03-21 06:44:33 +01:00
2017-03-17 15:10:49 +09:00
2017-03-17 15:10:49 +09:00
2017-03-03 10:16:38 -08:00
2017-03-10 08:34:42 -08:00
2017-03-08 09:45:07 +01:00
2017-03-03 10:16:38 -08:00
2017-03-07 19:58:37 +01:00
2017-03-11 00:08:39 -08:00
2017-03-03 10:16:38 -08:00
2017-03-03 01:45:16 +01:00
2017-03-03 10:16:38 -08:00
2017-03-17 15:10:49 +09:00
2017-03-17 15:10:49 +09:00
2017-03-09 12:23:30 -08:00
2017-03-17 15:10:49 +09:00