mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 06:33:43 -04:00
regulator: Use container_of_const() when all types are
Merge series from Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>: Use container_of_const(), which is preferred over container_of(), when the argument 'ptr' and returned pointer are already const, for better code safety and readability. Some drivers already have const everywhere, so container_of_const can be directly used. In few other drivers, the final pointer can be constified that way.
This commit is contained in:
@@ -1116,6 +1116,15 @@ config REGULATOR_PV88090
|
||||
Say y here to support the voltage regulators and convertors
|
||||
on PV88090
|
||||
|
||||
config REGULATOR_PF1550
|
||||
tristate "NXP PF1550 regulator"
|
||||
depends on MFD_PF1550
|
||||
help
|
||||
Say y here to select this option to enable the regulators on
|
||||
the PF1550 PMICs.
|
||||
This driver controls the PF1550 regulators via I2C bus.
|
||||
The regulators include three bucks and three ldos.
|
||||
|
||||
config REGULATOR_PWM
|
||||
tristate "PWM voltage regulator"
|
||||
depends on PWM
|
||||
|
||||
Reference in New Issue
Block a user