]> git.baikalelectronics.ru Git - kernel.git/commit
MFD: twl6040: Remove global pointer for platform_device
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 15 Sep 2011 12:39:23 +0000 (15:39 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 19 Sep 2011 22:15:29 +0000 (23:15 +0100)
commite3b60df79363a55961fc7db16ac5fdb53b29010f
treec493eadd20a7bbc37740eb49d1f100612cf44198
parentc690ece79507fdd4367a9879a0f451798d64460a
MFD: twl6040: Remove global pointer for platform_device

There is no need to keep global pointer for the platform
device, since it is only used for dev_* prints, and the
device pointer available within the twl6040 structure.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/mfd/twl6040-core.c