i2c: i2c-smbus: add of_i2c_setup_smbus_alert
authorPhil Reid <preid@electromag.com.au>
Thu, 24 Aug 2017 09:31:03 +0000 (17:31 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 28 Oct 2017 21:42:47 +0000 (23:42 +0200)
commit69d17246ab255dda8e71c8d65396b4aa6121b7ad
tree9ed40351baed0773b7152f1b69996a454ef3b7c3
parent3c0a60bee1d157d4ed9ae6a9727d508158d002c7
i2c: i2c-smbus: add of_i2c_setup_smbus_alert

This commit adds of_i2c_setup_smbus_alert which allows the smbalert
driver to be attached to an i2c adapter via the device tree.

Signed-off-by: Phil Reid <preid@electromag.com.au>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Documentation/devicetree/bindings/i2c/i2c.txt
drivers/i2c/i2c-core-smbus.c
drivers/i2c/i2c-smbus.c
include/linux/i2c-smbus.h