module_param: make bool parameters really bool (drivers & misc)
[firefly-linux-kernel-4.4.55.git] / drivers / hwmon / adm1021.c
index 1ad0a885c5a5795034759dfc93c9c13015d211d5..0158cc35cb2e180984f90cd49dfdf364764c0831 100644 (file)
@@ -103,7 +103,7 @@ static int adm1021_remove(struct i2c_client *client);
 static struct adm1021_data *adm1021_update_device(struct device *dev);
 
 /* (amalysh) read only mode, otherwise any limit's writing confuse BIOS */
-static int read_only;
+static bool read_only;
 
 
 static const struct i2c_device_id adm1021_id[] = {