[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z922FFNjTYqNJs3i@smile.fi.intel.com>
Date: Fri, 21 Mar 2025 20:55:16 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Wolfram Sang <wsa+renesas@...g-engineering.com>,
linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 2/6] i2c: core: Unify the firmware node type check
On Wed, Mar 12, 2025 at 08:48:49PM +0200, Andy Shevchenko wrote:
> OF and ACPI currently are using asymmetrical APIs to check
> for the firmware node type. Unify them by using is_*_node()
> against struct fwnode_handle pointer.
> drivers/i2c/i2c-core-base.c | 14 ++++++++------
The i2c-core-slave.c can be also modified to follow the same approach.
I'll do that way in v2.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists