diff options
author | Pantelis Antoniou | 2014-10-28 22:36:03 +0200 |
---|---|---|
committer | Grant Likely | 2014-11-25 15:35:35 +0000 |
commit | ea7513bbc04170f1cbf42953187a4d8b731c71c4 (patch) | |
tree | eae2d5fe9a96b50e45c447249b82f55983df8094 /Documentation/hwmon | |
parent | a430a3455f2c48995e06b359a82a1109a419e9ef (diff) |
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 'Documentation/hwmon')
0 files changed, 0 insertions, 0 deletions