]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/base/regmap/internal.h
regmap: Don't use bitfields for booleans
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 6 Feb 2012 18:01:35 +0000 (18:01 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 6 Feb 2012 19:24:35 +0000 (19:24 +0000)
commit847fb6fdf58c0ef4c207d2853a043a4da3db9c76
tree70c75bb5f00233ab80e49ed3e4d1bae03f456734
parentaa795d129246cb4c973076e3242b8a2eb374f1ef
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).

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/internal.h