mfd: Use macros instead of some constant magic numbers for menelaus
authorJarkko Nikula <jhnikula@gmail.com>
Sun, 8 Aug 2010 17:05:24 +0000 (20:05 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 12 Aug 2010 09:28:11 +0000 (11:28 +0200)
commit1c888e2e3824a3f7565b4d96ede423cb9a9a28b7
treea323f5512f545882f93be5c6d30039dda202eaa9
parent214044b44ae674d9e3dbe4774ed4b91a53d4e07f
mfd: Use macros instead of some constant magic numbers for menelaus

This patch is originally done by Carlos Eduardo Aguiar. Original fix is
commit 3305829b2816072b9c8ed01374b205ae4de74027 in
git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git

Author modified the fix for mainline version of menelaus.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Cc: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/menelaus.c