[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1714399603.git.mirq-linux@rere.qmqm.pl>
Date: Mon, 29 Apr 2024 16:45:27 +0200
From: Michał Mirosław <mirq-linux@...e.qmqm.pl>
To: Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH v2 00/12] regulator/core: Trivial cleanups and improvements
This is a random set of cleanups, dead code removal and minor
optimizations. This is a v2 of patchset sent long time ago, extended
with a couple more entries (one including a driver cleanup to enable
further changes). Tested on Tegra3 (ARM) and x86 devices.
v2:
- added regulator_dev.reg_data cleanup patches
- added a missing hunk in patch 6
- removed an extra change from patch 5
(Note: skipping changelogs in the patches, as the update has no relevant
material changes there)
Michał Mirosław (12):
regulator/core: _regulator_get: simplify error returns
regulator/core: set_consumer_device_supply: remove `has_dev`
regulator/core: of_get_child_regulator: remove goto
regulator/core: regulator_bulk_get: remove redundant NULL stores
regulator/core: regulator_ena_gpio_ctrl: pull in ena_gpio state
handling
regulator/core: remove regulator_init callback
regulator/core: remove regulator_get_init_drvdata()
regulator/core: set_consumer_device_supply: avoid copying const data
regulator/tps68470: use rdev_get_drvdata()
regulator/core: use dev_to_rdev() for device -> regulator_dev cast
regulator/core: remove regulator_get/set_drvdata
regulator/core: use rdev->dev.driver_data
drivers/regulator/core.c | 180 ++++++++-----------------
drivers/regulator/tps68470-regulator.c | 4 +-
include/linux/regulator/consumer.h | 14 --
include/linux/regulator/driver.h | 9 +-
include/linux/regulator/machine.h | 7 +-
5 files changed, 62 insertions(+), 152 deletions(-)
--
2.39.2
Powered by blists - more mailing lists