summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2019-06-11 11:12:53 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-06-13 08:16:48 +0200
commit5c88c98d524ff9cd7f7fb0fe4782c508917346ec (patch)
tree92c3e1747ca1a897b6e864388c02bdae2bba5c27 /drivers/i2c
parenta8a508270be28d5d234e760cc3406cfad188b1d2 (diff)
downloadbarebox-5c88c98d524ff9cd7f7fb0fe4782c508917346ec.tar.gz
barebox-5c88c98d524ff9cd7f7fb0fe4782c508917346ec.tar.xz
treewide: remove stale mentions of CONFIG_OF in comments
barebox doesn't define a CONFIG_OF kconfig option, but CONFIG_OFTREE for the device tree handling and CONFIG_OFDEVICE for probing devices out of the device tree. Replace comment mentions of CONFIG_OF with mentions of either as appropriate. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/i2c-mux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/i2c-mux.c b/drivers/i2c/i2c-mux.c
index f87e1fadb6..ab31da61d6 100644
--- a/drivers/i2c/i2c-mux.c
+++ b/drivers/i2c/i2c-mux.c
@@ -96,7 +96,7 @@ struct i2c_adapter *i2c_add_mux_adapter(struct i2c_adapter *parent,
/*
* Try to populate the mux adapter's device_node, expands to
- * nothing if !CONFIG_OF.
+ * nothing if !CONFIG_OFDEVICE.
*/
if (mux_dev->device_node) {
struct device_node *child;