Thread (7 messages) 7 messages, 5 authors, 2021-04-09

RE: [PATCH] pwm: Rename pwm_get_state() to better reflect its semantic

From: Roy Im <hidden>
Date: 2021-04-06 13:22:57
Also in: dri-devel, intel-gfx, linux-arm-kernel, linux-clk, linux-doc, linux-fbdev, linux-pwm, linux-rockchip, lkml

On Tue, 06 Apr 2021, Uwe Kleine-König [off-list ref] wrote:
Given that lowlevel drivers usually cannot implement exactly what a 
consumer requests with pwm_apply_state() there is some
rounding involved.

pwm_get_state() traditionally returned the setting that was requested 
most recently by the consumer (opposed to what was
actually implemented in hardware in reply to the last request).
To make this semantic obvious rename the function.

Signed-off-by: Uwe Kleine-König <redacted>
---
 drivers/input/misc/da7280.c                |  2 +-
Acked-by: Roy Im <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help