[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131116160601.GA8723@katana>
Date: Sat, 16 Nov 2013 17:06:02 +0100
From: Wolfram Sang <wsa@...-dreams.de>
To: Florian Meier <florian.meier@...lo.de>
Cc: Stephen Warren <swarren@...dotorg.org>, linux-i2c@...r.kernel.org,
linux-rpi-kernel <linux-rpi-kernel@...ts.infradead.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i2c: Fallback to of_node of parent
> + if (!dev->of_node && dev->parent)
> + dev->of_node = dev->parent->of_node;
> +
That is not enough. Current drivers could then have the assignment
removed and even more important, this behaviour should be documented.
Regards,
Wolfram
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists