]> www.infradead.org Git - users/jedix/linux-maple.git/commit
power: supply: rt9471: Simplify definition of some struct linear_range
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 2 May 2025 14:48:09 +0000 (16:48 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sat, 3 May 2025 17:17:02 +0000 (19:17 +0200)
commitb1d8766052eb0534b27edda8af1865d53621bd6a
tree531e0347ea1f0835d79b1efe4d3a36148ae95e20
parent1ea48c51f03fc3186ee0bcc05d06b652c209e0ae
power: supply: rt9471: Simplify definition of some struct linear_range

Use LINEAR_RANGE() instead of hand-writing it. It is less verbose.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/0da94193c5f8b35fa98f25a852d74b841670bd6e.1746197233.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/rt9471.c