Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Milo Kim
Acked-by: Milo Kim
---
Changes from V1:
- Convert mfd to MFD.
- Collected acks.
drivers
Use devm_mfd_add_devices() for MFD devices registration and remove
the call of mfd_remove_devices() from .remove callback to remove
MFD child-devices. This is done by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Beniamino Galvani <b.galv...@
Use devm_mfd_add_devices() for MFD devices registration and remove
the call of mfd_remove_devices() from .remove callback to remove
MFD child-devices. This is done by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Beniamino Galvani
---
Changes from V1:
- Convert mfd to MFD.
- Run
Use devm_mfd_add_devices() for MFD devices registration and remove
the call of mfd_remove_devices() from .remove callback to remove
MFD child-devices. This is done by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Chris Zhong <z...@rock-chips.com>
Use devm_mfd_add_devices() for MFD devices registration and remove
the call of mfd_remove_devices() from .remove callback to remove
MFD child-devices. This is done by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Chris Zhong
---
Changes from V1:
- Convert mfd to MFD.
- Run
Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Andreas Werner <andreas.wer...@men.de>
Reviewed-by: Andreas Werner
Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: John Crispin <blo...@openwrt.org>
CC: Javier Martinez C
Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Todd Fischer <todd.fisc...@ridgerun.com>
---
Changes from V1:
-
Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Gyungoh Yoo <jack@skyworksinc.com>
---
Changes from V1:
-
Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Andreas Werner
Reviewed-by: Andreas Werner
---
Changes from V1:
- Convert mfd to MFD.
- Run
Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: John Crispin
CC: Javier Martinez Canillas
Reviewed-by: Javier Martinez Canillas
---
Changes from
Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Todd Fischer
---
Changes from V1:
- Convert mfd to MFD.
- Fix checkpatch --strict error on patch
Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Gyungoh Yoo
---
Changes from V1:
- Convert mfd to MFD.
- Run checkpatch with --strict option and fix
Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Florian Fainelli <flor...@openwrt.org>
---
Changes from V1:
-
Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Florian Fainelli
---
Changes from V1:
- Convert mfd to MFD.
- Fix checkpatch --strict error on patch
Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Guodong Xu <guodong...@linaro.org>
---
Changes from V1:
- Conver
Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Mark Brown <broo...@kernel.org>
CC: patc...@opensource.wolfsonmic
Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Tony Lindgren <t...@atomide.com>
---
Changes from V1:
- Conver
Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Guodong Xu
---
Changes from V1:
- Convert mfd to MFD.
- Run checkpatch with --strict option and fix
Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Mark Brown
CC: patc...@opensource.wolfsonmicro.com
Acked-by: Charles Keepax
---
Changes from V1
Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Tony Lindgren
---
Changes from V1:
- Convert mfd to MFD.
- Run checkpatch with --strict option
Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Ingi Kim <ingi2@samsung.com>
CC: Javier Martinez C
Use devm_mfd_add_devices() for MFD devices registration and remove
the call of mfd_remove_devices() from .remove callback to remove
MFD child-devices. This is done by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Tony Lindgren <t...@atomide.com>
Use devm_mfd_add_devices() for MFD devices registration and remove
the call of mfd_remove_devices() from .remove callback to remove
MFD child-devices. This is done by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Tony Lindgren
---
Changes from V1:
- Convert mfd to MFD.
drivers
Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Ingi Kim
CC: Javier Martinez Canillas
Reviewed-by: Javier Martinez Canillas
---
Changes from V1
Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Matt Porter <mpor...@linaro.org>
---
Changes from V1:
- Conver
Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Linus Walleij <linus.wall...@linaro.org>
Acked-by: Linus Walleij
Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Matt Porter
---
Changes from V1:
- Convert mfd to MFD.
- Run checkpatch with --strict option and fix
Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Linus Walleij
Acked-by: Linus Walleij
---
Changes from V1:
- Convert mfd to MFD.
- Run checkpatch
.
- Convert mfd to MFD on all commit message.
- Handles the comment received from V1 patch like better error handling,
APIs description.
- Collected acks and reviewed by.
- Run checkpatch --strict on all patches and fix alignment error.
Laxman Dewangan (20):
mfd: Add resource managed apis
.
- Convert mfd to MFD on all commit message.
- Handles the comment received from V1 patch like better error handling,
APIs description.
- Collected acks and reviewed by.
- Run checkpatch --strict on all patches and fix alignment error.
Laxman Dewangan (20):
mfd: Add resource managed apis
driver unbind.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
---
Changes from V1:
- Reformat the commit message.
- Run checkpatch with --strict option and fix warning.
- Remove devm_ for mfd_remove_devices() as this is not used.
- Consider V1 review comment on error handling.
drive
driver unbind.
Signed-off-by: Laxman Dewangan
---
Changes from V1:
- Reformat the commit message.
- Run checkpatch with --strict option and fix warning.
- Remove devm_ for mfd_remove_devices() as this is not used.
- Consider V1 review comment on error handling.
drivers/mfd/mfd-core.c | 38
On Thursday 07 April 2016 05:12 PM, Lee Jones wrote:
On Thu, 07 Apr 2016, Laxman Dewangan wrote:
+ * Normally this function will not need to be called and the resource
+ * management code will ensure that the resource is freed.
Then what is the purpose of providing it? Do you have a user
On Thursday 07 April 2016 05:12 PM, Lee Jones wrote:
On Thu, 07 Apr 2016, Laxman Dewangan wrote:
+ * Normally this function will not need to be called and the resource
+ * management code will ensure that the resource is freed.
Then what is the purpose of providing it? Do you have a user
Hi Lee,
Thanks for review.
I will send another patch with incorporating your comments.
On Thursday 07 April 2016 04:14 PM, Lee Jones wrote:
On Tue, 05 Apr 2016, Laxman Dewangan wrote:
+ if (!ret) {
+ *ptr = dev;
+ devres_add(dev, ptr);
+ } else
Hi Lee,
Thanks for review.
I will send another patch with incorporating your comments.
On Thursday 07 April 2016 04:14 PM, Lee Jones wrote:
On Tue, 05 Apr 2016, Laxman Dewangan wrote:
+ if (!ret) {
+ *ptr = dev;
+ devres_add(dev, ptr);
+ } else
Hi Eduardo,
Thanks for review.
On Wednesday 06 April 2016 09:31 PM, Eduardo Valentin wrote:
On Wed, Apr 06, 2016 at 03:33:05PM +0530, Laxman Dewangan wrote:
+- step-temperature: The temperature steps for the reading ADC
+value in millicelsius.
How about
Hi Eduardo,
Thanks for review.
On Wednesday 06 April 2016 09:31 PM, Eduardo Valentin wrote:
On Wed, Apr 06, 2016 at 03:33:05PM +0530, Laxman Dewangan wrote:
+- step-temperature: The temperature steps for the reading ADC
+value in millicelsius.
How about
Hi Daniel,
On Wednesday 06 April 2016 07:19 PM, Daniel Baluta wrote:
On Wed, Apr 6, 2016 at 1:31 PM, Laxman Dewangan <ldewan...@nvidia.com> wrote:
Some of kernel driver uses the IIO framework to get the sensor
value via ADC or IIO HW driver. The client driver get iio c
Hi Daniel,
On Wednesday 06 April 2016 07:19 PM, Daniel Baluta wrote:
On Wed, Apr 6, 2016 at 1:31 PM, Laxman Dewangan wrote:
Some of kernel driver uses the IIO framework to get the sensor
value via ADC or IIO HW driver. The client driver get iio channel
by iio_channel_get() and release
Add following APIs in the list of managed resources of IIO:
devm_iio_channel_get()
devm_iio_channel_get_all()
devm_iio_channel_release()
devm_iio_channel_release_all()
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
---
Documentation/driver-model/devr
the devm_iio_channel_get_all() then it need not to release it
explicitly, it can be done by managed device framework when driver
get un-binded.
This reduces the code in error path and also need of .remove callback in
some cases.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
---
drivers/iio/in
Add following APIs in the list of managed resources of IIO:
devm_iio_channel_get()
devm_iio_channel_get_all()
devm_iio_channel_release()
devm_iio_channel_release_all()
Signed-off-by: Laxman Dewangan
---
Documentation/driver-model/devres.txt | 4
1 file
the devm_iio_channel_get_all() then it need not to release it
explicitly, it can be done by managed device framework when driver
get un-binded.
This reduces the code in error path and also need of .remove callback in
some cases.
Signed-off-by: Laxman Dewangan
---
drivers/iio/inkern.c | 36
the devm_iio_channel_get() then it need not to release it explicitly,
it can be done by managed device framework when driver get un-binded.
This reduces the code in error path and also need of .remove callback in
some cases.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
---
drivers/iio/inkern.c
the devm_iio_channel_get() then it need not to release it explicitly,
it can be done by managed device framework when driver get un-binded.
This reduces the code in error path and also need of .remove callback in
some cases.
Signed-off-by: Laxman Dewangan
---
drivers/iio/inkern.c | 48
for thermal sensor driver which read the sensor
data through IIO framework which has ADC driver as HW driver.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
---
drivers/thermal/Kconfig | 10 ++
drivers/thermal/Makefile | 1 +
drivers/thermal/thermal-g
binding doc for the adc based thermal sensor driver to detail
the DT property and provide the example for how to use it.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
---
.../bindings/thermal/thermal-generic-adc.txt | 86 ++
1 file changed, 86 insertions(+)
creat
for thermal sensor driver which read the sensor
data through IIO framework which has ADC driver as HW driver.
Signed-off-by: Laxman Dewangan
---
drivers/thermal/Kconfig | 10 ++
drivers/thermal/Makefile | 1 +
drivers/thermal/thermal-generic-adc.c | 208
binding doc for the adc based thermal sensor driver to detail
the DT property and provide the example for how to use it.
Signed-off-by: Laxman Dewangan
---
.../bindings/thermal/thermal-generic-adc.txt | 86 ++
1 file changed, 86 insertions(+)
create mode 100644
Documentation
Add devm wrappers for the mfd_add_devices() and mfd_remove_devices()
in the list of managed interfaces.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
---
Documentation/driver-model/devres.txt | 4
1 file changed, 4 insertions(+)
diff --git a/Documentation/driver-model/devres.
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Wenyou Yang <wenyou.y...@atmel.com>
CC: Krzysztof Kozlowski <k.kozlow
Add devm wrappers for the mfd_add_devices() and mfd_remove_devices()
in the list of managed interfaces.
Signed-off-by: Laxman Dewangan
---
Documentation/driver-model/devres.txt | 4
1 file changed, 4 insertions(+)
diff --git a/Documentation/driver-model/devres.txt
b/Documentation/driver
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Wenyou Yang
CC: Krzysztof Kozlowski
---
drivers/mfd/act8945a.c | 13 +++--
1 file changed, 3
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Matt Porter <mpor...@linaro.org>
---
drivers/mfd/bcm590xx.c | 9 +
This series add devm_ version of the APIs mfd_add_devices() and
mfd_release_devices() and get rid of call for mfd_release_devices()
some places and also remove the need of .remove callbacks as this
is not needed.
Laxman Dewangan (20):
mfd: Add devm_ apis for mfd_add_devices
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Matt Porter
---
drivers/mfd/bcm590xx.c | 9 +
1 file changed, 1 insertion(+), 8 deletions(-)
diff
This series add devm_ version of the APIs mfd_add_devices() and
mfd_release_devices() and get rid of call for mfd_release_devices()
some places and also remove the need of .remove callbacks as this
is not needed.
Laxman Dewangan (20):
mfd: Add devm_ apis for mfd_add_devices
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Boris Brezillon <boris.brezil...@free-electrons.com>
---
drivers/mfd/a
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Boris Brezillon
---
drivers/mfd/atmel-hlcdc.c | 10 +-
1 file changed, 1 insertion(+), 9 deletions
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Guennadi Liakhovetski <g.liakhovet...@gmx.de>
---
drivers/mfd/a
Use devm_mfd_add_devices() for mfd devices registration and remove
the call of mfd_remove_devices() from .remove callback to remove
mfd devices. This is done by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Chris Zhong <z...@rock-chips.com>
---
Use devm_mfd_add_devices() for mfd devices registration and remove
the call of mfd_remove_devices() from .remove callback to remove
mfd devices. This is done by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Beniamino Galvani <b.galv...@gmail.com>
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Andreas Werner <andreas.wer...@men.de>
---
drivers/mfd/menf21bmc.c | 9
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Guennadi Liakhovetski
---
drivers/mfd/as3711.c | 11 +--
1 file changed, 1 insertion(+), 10
Use devm_mfd_add_devices() for mfd devices registration and remove
the call of mfd_remove_devices() from .remove callback to remove
mfd devices. This is done by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Chris Zhong
---
drivers/mfd/rk808.c | 3 +--
1 file changed, 1 insertion
Use devm_mfd_add_devices() for mfd devices registration and remove
the call of mfd_remove_devices() from .remove callback to remove
mfd devices. This is done by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Beniamino Galvani
---
drivers/mfd/rn5t618.c | 3 +--
1 file changed, 1
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Andreas Werner
---
drivers/mfd/menf21bmc.c | 9 +
1 file changed, 1 insertion(+), 8 deletions
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Milo Kim <milo@ti.com>
---
drivers/mfd/lp3943.c | 14 +++---
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Milo Kim
---
drivers/mfd/lp3943.c | 14 +++---
1 file changed, 3 insertions(+), 11 deletions
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Florian Fainelli <flor...@openwrt.org>
---
drivers/mfd/rdc321x-south
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Guodong Xu <guodong...@linaro.org>
---
drivers/mfd/hi6421-pmic
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Florian Fainelli
---
drivers/mfd/rdc321x-southbridge.c | 8 +---
1 file changed, 1 insertion(+), 7
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Guodong Xu
---
drivers/mfd/hi6421-pmic-core.c | 10 +-
1 file changed, 1 insertion(+), 9 deletions
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Gyungoh Yoo <jack@skyworksinc.com>
---
drivers/mfd/sky81452.c | 10 +
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Tony Lindgren <t...@atomide.com>
---
drivers/mfd/tps65217.c | 12 +---
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Gyungoh Yoo
---
drivers/mfd/sky81452.c | 10 ++
1 file changed, 2 insertions(+), 8 deletions
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Tony Lindgren
---
drivers/mfd/tps65217.c | 12 +---
1 file changed, 1 insertion(+), 11 deletions
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Todd Fischer <todd.fisc...@ridgerun.com>
---
drivers/mfd/tps
Use devm_mfd_add_devices() for mfd devices registration and remove
the call of mfd_remove_devices() from .remove callback to remove
mfd devices. This is done by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Tony Lindgren <t...@atomide.com>
---
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Todd Fischer
---
drivers/mfd/tps6507x.c | 11 +--
1 file changed, 1 insertion(+), 10 deletions
Use devm_mfd_add_devices() for mfd devices registration and remove
the call of mfd_remove_devices() from .remove callback to remove
mfd devices. This is done by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Tony Lindgren
---
drivers/mfd/tps65910.c | 3 +--
1 file changed, 1
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Linus Walleij <linus.wall...@linaro.org>
---
drivers/mfd/stw481x.c | 9
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Ingi Kim <ingi2@samsung.com>
CC: Javier Martinez Canillas <jav...@
Add device managed APIs devm_mfd_add_devices() and
devm_mfd_remove_devices() for the APIs mfd_add_devices()
and mfd_remove_devices().
This helps in reducing code in error path and sometimes
removal of .remove callback for driver unbind.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: Mark Brown <broo...@kernel.org>
CC: patc...@opensource.wolfsonmicro.com
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Linus Walleij
---
drivers/mfd/stw481x.c | 9 +
1 file changed, 1 insertion(+), 8 deletions
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Ingi Kim
CC: Javier Martinez Canillas
---
drivers/mfd/rt5033.c | 10 +-
1 file changed, 1
Add device managed APIs devm_mfd_add_devices() and
devm_mfd_remove_devices() for the APIs mfd_add_devices()
and mfd_remove_devices().
This helps in reducing code in error path and sometimes
removal of .remove callback for driver unbind.
Signed-off-by: Laxman Dewangan
---
drivers/mfd/mfd-core.c
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: Mark Brown
CC: patc...@opensource.wolfsonmicro.com
---
drivers/mfd/wm8400-core.c | 25
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
CC: John Crispin <blo...@openwrt.org>
CC: Javier Martinez Canillas <jav...@
Use devm_mfd_add_devices() for mfd devices registration and get
rid of .remove callback to remove mfd devices. This is done
by managed device framework.
Signed-off-by: Laxman Dewangan
CC: John Crispin
CC: Javier Martinez Canillas
---
drivers/mfd/mt6397-core.c | 12 ++--
1 file changed
) * 1550)/155)
= 100
and this is equivalent to 100mV and so final voltage is
(80 + 10) = 90uV which is same as requested,
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
Cc: Lee Jones <lee.jo...@linaro.org>
---
For V1:
This is the rework on
) * 1550)/155)
= 100
and this is equivalent to 100mV and so final voltage is
(80 + 10) = 90uV which is same as requested,
Signed-off-by: Laxman Dewangan
Cc: Lee Jones
---
For V1:
This is the rework on patch based on discussion in patch
Re: [PATCH 4/5] regulator: pwm
On Friday 01 April 2016 09:41 PM, Mark Brown wrote:
* PGP Signed by an unknown key
On Fri, Apr 01, 2016 at 12:45:21PM +0530, Laxman Dewangan wrote:
On Friday 01 April 2016 02:09 AM, Mark Brown wrote:
Is the error in the observed values a function of the capacitance that
we can calcuate here
On Friday 01 April 2016 09:41 PM, Mark Brown wrote:
* PGP Signed by an unknown key
On Fri, Apr 01, 2016 at 12:45:21PM +0530, Laxman Dewangan wrote:
On Friday 01 April 2016 02:09 AM, Mark Brown wrote:
Is the error in the observed values a function of the capacitance that
we can calcuate here
On Saturday 02 April 2016 10:23 PM, Mark Brown wrote:
* PGP Signed by an unknown key
On Fri, Apr 01, 2016 at 12:02:19PM +0530, Laxman Dewangan wrote:
On Friday 01 April 2016 11:55 AM, kbuild test robot wrote:
pwm-regulator.c:(.text+0x1728d4): undefined reference to `__umoddi3'
pwm
On Saturday 02 April 2016 10:23 PM, Mark Brown wrote:
* PGP Signed by an unknown key
On Fri, Apr 01, 2016 at 12:02:19PM +0530, Laxman Dewangan wrote:
On Friday 01 April 2016 11:55 AM, kbuild test robot wrote:
pwm-regulator.c:(.text+0x1728d4): undefined reference to `__umoddi3'
pwm
On Friday 01 April 2016 02:09 AM, Mark Brown wrote:
* PGP Signed by an unknown key
On Fri, Apr 01, 2016 at 01:18:23AM +0530, Laxman Dewangan wrote:
On Friday 01 April 2016 12:52 AM, Mark Brown wrote:
So as per above, it will be adjusted to 13.75mV/us (nearest higher side) for
device
801 - 900 of 3619 matches
Mail list logo