[PATCH v1 0/2] platform/chrome: cros_typec_switch: Fix fwnode and _ADR handling

Andy Shevchenko posted 2 patches 2 weeks, 5 days ago
drivers/platform/chrome/cros_typec_switch.c | 19 +++++--------------
1 file changed, 5 insertions(+), 14 deletions(-)
[PATCH v1 0/2] platform/chrome: cros_typec_switch: Fix fwnode and _ADR handling
Posted by Andy Shevchenko 2 weeks, 5 days ago
While looking for something else, I have noticed a nasty use of the private
field of struct fwnode_handle in basically the only driver. So, hence the
fix and one following cleanup.

Andy Shevchenko (2):
  platform/chrome: cros_typec_switch: Don't touch  struct
    fwnode_handle::dev
  platform/chrome: cros_typec_switch: simplify code with
    acpi_get_local_u64_address()

 drivers/platform/chrome/cros_typec_switch.c | 19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)

-- 
2.50.1
Re: [PATCH v1 0/2] platform/chrome: cros_typec_switch: Fix fwnode and _ADR handling
Posted by Tzung-Bi Shih 2 weeks, 5 days ago
On Tue, Jan 20, 2026 at 02:12:29PM +0100, Andy Shevchenko wrote:
> While looking for something else, I have noticed a nasty use of the private
> field of struct fwnode_handle in basically the only driver. So, hence the
> fix and one following cleanup.
> 
> Andy Shevchenko (2):
>   platform/chrome: cros_typec_switch: Don't touch  struct
>     fwnode_handle::dev
>   platform/chrome: cros_typec_switch: simplify code with
>     acpi_get_local_u64_address()
> 
> [...]

Applied to

    https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git for-next

[1/2] platform/chrome: cros_typec_switch: Don't touch struct fwnode_handle::dev
      commit: e1adf48853bc715f4deea074932aa1c44eb7abea
[2/2] platform/chrome: cros_typec_switch: simplify code with acpi_get_local_u64_address()
      commit: a4065662998fbee4a0ca9886b9aa50aa9694e0e7

Thanks!