i2c: dln2: set the device tree node of the adapter
authorOctavian Purdila <octavian.purdila@intel.com>
Fri, 27 Mar 2015 15:37:10 +0000 (17:37 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 27 Mar 2015 15:56:21 +0000 (16:56 +0100)
commit3b10db23c0411524357c5834731df2e24897b53b
tree3b1e11c53950ca95d51f1a6eb7549759a165c543
parentd9e1f4417a43cd0871253b2158eae07a48d656b5
i2c: dln2: set the device tree node of the adapter

This patch makes sure the platform device tree node is inherited by
the adapter device. This allows the DLN2 bus to work with i2c devices
defined in the device tree.

Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-dln2.c