diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2018-01-03 22:50:51 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-01-03 22:50:51 +0100 |
commit | fddfa22a4403cd19548de075ddada0c7c966a232 (patch) | |
tree | f981a63ff0c1062aecb5ab48b0585ffe97a7c20b /drivers/i2c/busses/i2c-cht-wc.c | |
parent | Merge branch 'i2c-mux/for-next' of https://github.com/peda-r/i2c-mux into i2c... (diff) | |
parent | eeprom: at24: extend the list of chips supported in DT (diff) | |
download | linux-fddfa22a4403cd19548de075ddada0c7c966a232.tar.xz linux-fddfa22a4403cd19548de075ddada0c7c966a232.zip |
Merge tag 'at24-4.16-updates-for-wolfram' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux into i2c/for-4.16
"AT24 updates for 4.16 merge window
The driver has been converted to using regmap instead of raw i2c and
smbus calls which shrank the code significantly.
Device tree binding document has been cleaned up. Device tree support in
the driver has been improved and we now support all at24 models as well
as two new DT properties (no-read-rollover and wp-gpios).
We no longer user unreadable magic values for driver data as the way it
was implemented caused problems for some EEPROM models - we switched to
regular structs.
Aside from that, there's a bunch of coding style fixes and minor
improvements all over the place."
Diffstat (limited to 'drivers/i2c/busses/i2c-cht-wc.c')
-rw-r--r-- | drivers/i2c/busses/i2c-cht-wc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-cht-wc.c b/drivers/i2c/busses/i2c-cht-wc.c index 0d05dadb2dc5..44cffad43701 100644 --- a/drivers/i2c/busses/i2c-cht-wc.c +++ b/drivers/i2c/busses/i2c-cht-wc.c @@ -379,7 +379,7 @@ static int cht_wc_i2c_adap_i2c_remove(struct platform_device *pdev) return 0; } -static struct platform_device_id cht_wc_i2c_adap_id_table[] = { +static const struct platform_device_id cht_wc_i2c_adap_id_table[] = { { .name = "cht_wcove_ext_chgr" }, {}, }; |