diff options
author | Pantelis Antoniou <pantelis.antoniou@konsulko.com> | 2014-10-28 23:36:03 +0300 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2014-11-25 18:35:35 +0300 |
commit | ea7513bbc04170f1cbf42953187a4d8b731c71c4 (patch) | |
tree | eae2d5fe9a96b50e45c447249b82f55983df8094 /drivers/spi | |
parent | a430a3455f2c48995e06b359a82a1109a419e9ef (diff) | |
download | linux-ea7513bbc04170f1cbf42953187a4d8b731c71c4.tar.xz |
i2c/of: Add OF_RECONFIG notifier handler
CONFIG_OF_DYNAMIC enables runtime changes to the device tree which in
turn may trigger addition or removal of devices from Linux. Add an
OF_RECONFIG notifier handler to receive tree change events and to
creating or destroy i2c devices as required.
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
[grant.likely: clean up #ifdefs and drop unneeded error handling]
Signed-off-by: Grant Likely <grant.likely@linaro.org>
Reviewed-by: Wolfram Sang <wsa@the-dreams.de>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: linux-i2c@vger.kernel.org
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions