From: Ioana Ciornei <ciorneiioana@gmail.com>
To: outreachy-kernel@googlegroups.com
Cc: Ioana Ciornei <ciorneiioana@gmail.com>
Subject: [PATCH v2 0/3] use resource managed devm_iio_device_register
Date: Fri, 2 Oct 2015 13:37:47 +0300 [thread overview]
Message-ID: <cover.1443781973.git.ciorneiioana@gmail.com> (raw)
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 | 10 +---------
drivers/staging/iio/resolver/ad2s90.c | 10 +---------
6 files changed, 6 insertions(+), 61 deletions(-)
--
2.1.4
next reply other threads:[~2015-10-02 10:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-02 10:37 Ioana Ciornei [this message]
2015-10-02 10:37 ` [PATCH v2 1/3] staging: iio: cdc: use devm_iio_device_register instead iio_device_register Ioana Ciornei
2015-10-02 10:37 ` [PATCH v2 2/3] staging: iio: light: " Ioana Ciornei
2015-10-02 10:37 ` [PATCH v2 3/3] staging: iio: resolver: replace iio_device_register by devm_iio_device_register Ioana Ciornei
2015-10-02 21:28 ` [Outreachy kernel] [PATCH v2 0/3] use resource managed devm_iio_device_register Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1443781973.git.ciorneiioana@gmail.com \
--to=ciorneiioana@gmail.com \
--cc=outreachy-kernel@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.