]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hwmon: (tmp421) Remove duplicate return in switch-case
authorBruno Thomsen <bruno.thomsen@gmail.com>
Tue, 11 Nov 2025 14:44:06 +0000 (15:44 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 13 Nov 2025 20:23:19 +0000 (12:23 -0800)
commit006f661e024f2f0e89f3b458a3db0b10b657afa5
treed04f33adf1a48e4b987724ff41183e99105ba8b7
parent638196d43bd3c8548c6576d26475e071c023a9b3
hwmon: (tmp421) Remove duplicate return in switch-case

Use single read permission return in switch-case that handles
attributes in tmp421_is_visible().

Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
Link: https://lore.kernel.org/r/20251111144406.7489-2-bruno.thomsen@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/tmp421.c