[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1477933475-21914-1-git-send-email-eraretuya@gmail.com>
Date: Tue, 1 Nov 2016 01:04:29 +0800
From: Eva Rachel Retuya <eraretuya@...il.com>
To: linux-iio@...r.kernel.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Cc: lars@...afoo.de, Michael.Hennerich@...log.com, jic23@...nel.org,
knaack.h@....de, pmeerw@...erw.net, gregkh@...uxfoundation.org,
Eva Rachel Retuya <eraretuya@...il.com>
Subject: [PATCH 0/6] staging: iio: regulator clean-up
Rework regulator handling:
* use supply names found on the datasheet
* fix regulator usage
* declare digital supplies previously missing
Semantic patch used to detect affected drivers:
@r1@
expression reg;
position p;
@@
reg = \(devm_regulator_get@p\|regulator_get@p\)(...);
if (IS_ERR(reg)) {
...
PTR_ERR(reg)
...
}
@@
position p != r1.p;
@@
* \(devm_regulator_get@p\|regulator_get@p\)(...)
Eva Rachel Retuya (6):
staging: iio: set proper supply name to devm_regulator_get()
staging: iio: rework regulator handling
staging: iio: ad7192: add DVdd regulator
staging: iio: ad7192: rename regulator 'reg' to 'avdd'
staging: iio: ad9832: add DVDD regulator
staging: iio: ad9832: clean-up regulator 'reg'
drivers/staging/iio/adc/ad7192.c | 43 +++++++++++++------
drivers/staging/iio/adc/ad7780.c | 22 +++++-----
drivers/staging/iio/frequency/ad9832.c | 56 +++++++++++++++----------
drivers/staging/iio/frequency/ad9832.h | 6 ++-
drivers/staging/iio/frequency/ad9834.c | 19 +++++----
drivers/staging/iio/impedance-analyzer/ad5933.c | 21 +++++-----
6 files changed, 101 insertions(+), 66 deletions(-)
--
2.7.4
Powered by blists - more mailing lists