devicetree stuff to ads1015_get_channels_config_of()
- renamed ads1015_get_exported_channels() to ads1015_get_channels_config()
- renamed ADS1015_CONFIG_CHANNELS to ADS1015_CHANNELS
- fixed some style inconsistencies
Signed-off-by: Dirk Eibach
---
.../devicetree/bindings/hwmon/ads1015.txt
Documentation
- improved patch description
Signed-off-by: Dirk Eibach
---
.../devicetree/bindings/hwmon/ads1015.txt | 73 +
Documentation/devicetree/bindings/i2c/ads1015.txt | 29 -
Documentation/hwmon/ads1015| 44 ++---
drivers/hwmon/ads1015.c
Signed-off-by: Dirk Eibach
---
.../devicetree/bindings/hwmon/ads1015.txt | 73 ++
Documentation/devicetree/bindings/i2c/ads1015.txt | 29 --
Documentation/hwmon/ads1015| 48 +++---
drivers/hwmon/ads1015.c
Signed-off-by: Dirk Eibach
---
Changes since v1:
- removed sysfs from description
- explain channels
Changes since v2:
- Replaced 'accessable' by 'accessible'.
Documentation/devicetree/bindings/i2c/ads1015.txt | 29 +
1 files changed, 29 insert
Signed-off-by: Dirk Eibach
---
Changes since v1:
- removed sysfs from description
- explain channels
Documentation/devicetree/bindings/i2c/ads1015.txt | 29 +
1 files changed, 29 insertions(+), 0 deletions(-)
create mode 100644 Documentation/devicetree/bindings/i2c
Signed-off-by: Dirk Eibach
---
Documentation/devicetree/bindings/i2c/ads1015.txt | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
create mode 100644 Documentation/devicetree/bindings/i2c/ads1015.txt
diff --git a/Documentation/devicetree/bindings/i2c/ads1015.txt
b
Signed-off-by: Dirk Eibach
---
Changes since v1:
- fixed/extended Documentation
- removed unused register definitions
- hardcoded PGA fullscale table size
- made sure patch applies against v2.6.38-rc4
- reordered functions to avoid forward declaration
- results from i2c_smbus_read_word_data() are