regmap: Don't use bitfields for booleans
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 6 Feb 2012 18:01:35 +0000 (18:01 +0000)
committerDan Willemsen <dwillemsen@nvidia.com>
Wed, 21 Mar 2012 05:31:35 +0000 (22:31 -0700)
commit20fecce2ce15d2384c45824ac9378ddb19c35be8
treef5bfbae38872a43b600a4b4ca0f370e04284f1f8
parent899901f68ee89ef8879059931dd15f14e2718d27
regmap: Don't use bitfields for booleans

This was a cut'n'paste from some older code.

Since we're about to add debugfs support don't do the obvious thing and
use bool, use u32 instead (which debugfs has been using since time
immemorial).
cherry-picked from mainline
847fb6fdf58c0ef4c207d2853a043a4da3db9c76

Change-Id: I0eff043969a97190e7470bc695ef78323e9cb8d7
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/87587

Rebase-Id: Re248e655b697a9b3bce550cf810c6ca15bf7c8ca
drivers/base/regmap/internal.h