net: sfp: use simplified HWMON_CHANNEL_INFO macro
authorBeniamin Sandu <beniaminsandu@gmail.com>
Sat, 13 Aug 2022 20:46:58 +0000 (23:46 +0300)
committerJakub Kicinski <kuba@kernel.org>
Wed, 17 Aug 2022 17:16:41 +0000 (10:16 -0700)
commit815f5f574144aaef4bce6540214cb37434be637c
tree939fa8e62f2f62c02a1e5d2871e54a9f07fc6c95
parent5417197dd516a8e115aa69f62a7b7554b0c3829c
net: sfp: use simplified HWMON_CHANNEL_INFO macro

This makes the code look cleaner and easier to read.

Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com>
Link: https://lore.kernel.org/r/20220813204658.848372-1-beniaminsandu@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/sfp.c