]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i2c: designware: Unify the firmware type checks
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 22 Aug 2024 17:58:39 +0000 (20:58 +0300)
committerAndi Shyti <andi.shyti@kernel.org>
Mon, 9 Sep 2024 22:36:40 +0000 (00:36 +0200)
commit1bc7bb89300f2adbcfdf30361d018ede43ca45f9
treea2a05c3be613cc6dce2938b6b40e43fe89d6b93e
parentebe508e42226bd1503fcef076d6d76e81b9dd5f8
i2c: designware: Unify the firmware type checks

Instead of asymmetrical checks for the firmware type use
the is_*_node() calls.

Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/i2c-designware-common.c