debugfs: Pass bool pointer to debugfs_create_bool()
[linux-2.6-block.git] / drivers / base / regmap / internal.h
index cc557886ab2377a550c1ae529b6ecee23380161f..5b907f2c62b9bd0d43ead816e7bf99629b458e24 100644 (file)
@@ -122,9 +122,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;
 
@@ -132,7 +132,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;