regulator: code shrink (v2)
authorDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 12 Nov 2008 01:38:53 +0000 (17:38 -0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Thu, 8 Jan 2009 20:10:30 +0000 (20:10 +0000)
commit4fca9545d17b99cdb2774716b034c62a70151bcd
tree27f3d638f92f4aea9566c872fc8ba16b4eeb73e3
parente573520b171095c106ffbbbf4f9cbed6d9bff576
regulator: code shrink (v2)

Shrink regulator core by removing duplication in attribute printing
and probe() cleanup paths.  Saves about 340 bytes (object) on ARM.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/core.c