hwmon: (s3c) Use dev_get_drvdata()
[linux-2.6-block.git] / drivers / hwmon / ads7828.c
index 12c56d3783edd3b7e16394af9fe72c08284afa15..03d6e782777a4ecf324e3b1806cd0bc6cbdba1e8 100644 (file)
@@ -8,7 +8,7 @@
  *
  * ADS7830 support, by Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
  *
- * For further information, see the Documentation/hwmon/ads7828 file.
+ * For further information, see the Documentation/hwmon/ads7828.rst file.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -200,7 +200,7 @@ static const struct i2c_device_id ads7828_device_ids[] = {
 };
 MODULE_DEVICE_TABLE(i2c, ads7828_device_ids);
 
-static const struct of_device_id ads7828_of_match[] = {
+static const struct of_device_id __maybe_unused ads7828_of_match[] = {
        {
                .compatible = "ti,ads7828",
                .data = (void *)ads7828