]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/chrome: cros_typec_switch: Don't touch struct fwnode_handle::dev
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 20 Jan 2026 13:12:30 +0000 (14:12 +0100)
committerTzung-Bi Shih <tzungbi@kernel.org>
Wed, 21 Jan 2026 04:36:56 +0000 (04:36 +0000)
commite1adf48853bc715f4deea074932aa1c44eb7abea
treee219c896d7abe34bbc811ebf3810c054c7986c57
parent8f0b4cce4481fb22653697cced8d0d04027cb1e8
platform/chrome: cros_typec_switch: Don't touch struct fwnode_handle::dev

The 'dev' field in struct fwnode is special and related to device links,
There no driver should use it for printing messages. Fix incorrect use
of private field.

Fixes: affc804c44c8 ("platform/chrome: cros_typec_switch: Add switch driver")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20260120131413.1697891-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
drivers/platform/chrome/cros_typec_switch.c