]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7fe588246d3239727fc82a51d437f253fccf9d1d
tree3b1e11c53950ca95d51f1a6eb7549759a165c543
parent681329be7ab0be80ea75d14c58fd96fb0f874787
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