i2c: pca954x: add device tree binding
authorPeter Rosin <peda@axentia.se>
Sat, 9 Jul 2016 19:21:15 +0000 (21:21 +0200)
committerPeter Rosin <peda@axentia.se>
Thu, 25 Aug 2016 20:11:04 +0000 (22:11 +0200)
commit8a191a7ad4ca9022bb838387b20d3de6acc88b72
tree69b07fab9cc03af5700c24c97d4d122e40ba958a
parenta1cbf338abaf4d340b7aee1d8255e20462d11e70
i2c: pca954x: add device tree binding

No longer rely on the implicit matching with the i2c device name, use
an explicit compatible string instead.

Keep a direct pointer to the chip description instead of an index into
the chip description array.

Reviewed-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Peter Rosin <peda@axentia.se>
drivers/i2c/muxes/i2c-mux-pca954x.c