]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
regulator: rc5t583: Simplify RC5T583_REG macro
authorAxel Lin <axel.lin@gmail.com>
Fri, 6 Apr 2012 00:01:36 +0000 (08:01 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 6 Apr 2012 08:49:18 +0000 (09:49 +0100)
commit95e301ba83612e616bea0151868b7160111227f3
treeba600aa25ac2f125396c052d9041244eccfe6816
parente3a7384c3e98c48b5f122e449e22cc8a1a6c7e0d
regulator: rc5t583: Simplify RC5T583_REG macro

Simplify RC5T583_REG macro by removing _vout_reg and _ds_reg parameters.

The naming for vout_reg and deepsleep_reg can be replaced by:
.vout_reg       = RC5T583_REG_##_id##DAC,
.deepsleep_reg  = RC5T583_REG_##_id##DAC_DS,

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/rc5t583-regulator.c