On Tue, Mar 14, 2023 at 10:27:32AM +0900, Nobuhiro Iwamatsu wrote:
In apds990x_power_state_show(), the return value of sprintf is returned, so 'return 0' is unnecessary. This remove 'return 0'.
Fixes: 92b1f84d46b2 ("drivers/misc: driver for APDS990X ALS and proximity sensors") Cc: stable@vger.kernel.org
Why is this needed for stable kernels? It's dead code removal, no actual functionality is changed.
thanks,
greg k-h