Merge tag 'driver-core-4.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[firefly-linux-kernel-4.4.55.git] / drivers / base / regmap / internal.h
index 3250e53473a38957ecd12899612b6acaa5590283..3df977054781bcf4d836abf128268da70952436c 100644 (file)
@@ -125,9 +125,9 @@ struct regmap {
        unsigned int num_reg_defaults_raw;
 
        /* if set, only the cache is modified not the HW */
-       u32 cache_only;
+       bool cache_only;
        /* if set, only the HW is modified not the cache */
-       u32 cache_bypass;
+       bool cache_bypass;
        /* if set, remember to free reg_defaults_raw */
        bool cache_free;
 
@@ -135,7 +135,7 @@ struct regmap {
        const void *reg_defaults_raw;
        void *cache;
        /* if set, the cache contains newer data than the HW */
-       u32 cache_dirty;
+       bool cache_dirty;
        /* if set, the HW registers are known to match map->reg_defaults */
        bool no_sync_defaults;