• Uwe Kleine-König's avatar
    regulator/mc13783: various cleanups · a10099bc
    Uwe Kleine-König authored
    - define needed registers and bits in the driver
    - properly namespace functions and structs
    - fix locking as required by patch
      "mfd/mc13783: near complete rewrite"
    - use platform_data as provided by "mfd/mc13783: near complete rewrite"
      instead of accessing struct mc13783
    - struct mc13783_regulator_priv.desc is (and was) unused and so can go
      away
    - use cpp magic to initialize mc13783_regulators
    - bring MODULE_LICENSE in sync with actual copyright
    - minor style fixes
    
    This allows not including mc13783-private.h which I intend to remove
    soon.
    Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
    Cc: Sascha Hauer <s.hauer@pengutronix.de>
    Cc: Liam Girdwood <lrg@slimlogic.co.uk>
    Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
    Cc: Samuel Ortiz <sameo@linux.intel.com>
    Acked-by: default avatarMark Brown <broonie@opensoruce.wolfsonmicro.com>
    Signed-off-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
    a10099bc
mc13783-regulator.c 7.21 KB