All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] use resource managed devm_iio_device_register
@ 2015-10-01 20:10 Ioana Ciornei
  2015-10-01 20:10 ` [PATCH 1/3] staging: iio: cdc: use devm_iio_device_register instead iio_device_register Ioana Ciornei
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Ioana Ciornei @ 2015-10-01 20:10 UTC (permalink / raw)
  To: outreachy-kernel

This patchset replaces the use of iio_device_register with
the resource managed function devm_iio_device_register when the remove function
only unregisters the device. Since an iio_dev registered with this function is
automatically unregistered on driver detach there is no need for the remove
function and therefore it is removed.


Ioana Ciornei (3):
  staging: iio: cdc: use devm_iio_device_register instead
    iio_device_register
  staging: iio: light: use devm_iio_device_register instead
    iio_device_register
  staging: iio: resolver: replace iio_device_register by
    devm_iio_device_register

 drivers/staging/iio/cdc/ad7150.c      | 12 +-----------
 drivers/staging/iio/cdc/ad7152.c      | 12 +-----------
 drivers/staging/iio/cdc/ad7746.c      | 12 +-----------
 drivers/staging/iio/light/isl29028.c  | 11 +----------
 drivers/staging/iio/light/tsl2583.c   | 12 ++----------
 drivers/staging/iio/resolver/ad2s90.c | 10 +---------
 6 files changed, 7 insertions(+), 62 deletions(-)

-- 
2.1.4



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-10-01 23:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-01 20:10 [PATCH 0/3] use resource managed devm_iio_device_register Ioana Ciornei
2015-10-01 20:10 ` [PATCH 1/3] staging: iio: cdc: use devm_iio_device_register instead iio_device_register Ioana Ciornei
2015-10-01 20:10 ` [PATCH 2/3] staging: iio: light: " Ioana Ciornei
2015-10-01 23:12   ` [Outreachy kernel] " Vaishali Thakkar
2015-10-01 20:10 ` [PATCH 3/3] staging: iio: resolver: replace iio_device_register by devm_iio_device_register Ioana Ciornei
2015-10-01 23:19   ` [Outreachy kernel] " Vaishali Thakkar
2015-10-01 23:23 ` [Outreachy kernel] [PATCH 0/3] use resource managed devm_iio_device_register Vaishali Thakkar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.