diff options
author | Uwe Kleine-König <ukleinek@baylibre.com> | 2024-06-07 10:44:15 +0200 |
---|---|---|
committer | Uwe Kleine-König <ukleinek@kernel.org> | 2024-07-10 17:52:47 +0200 |
commit | f7d5463e2a8f1fef855af2b62a1f7b59b830ad05 (patch) | |
tree | aee51b267490c012b56f7b57eb1d798ca4e256c8 /include/linux/percpu_counter.h | |
parent | 33c651a3fba9a3d380cb0e35ea207e048d39bed9 (diff) |
pwm: cros-ec: Don't care about consumers in .get_state()
The get_state() callback is never called (in a visible way) after there
is a consumer for a pwm device. The core handles loosing the information
about duty_cycle just fine.
Simplify the driver accordingly.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://lore.kernel.org/r/20240607084416.897777-6-u.kleine-koenig@baylibre.com
[Drop kdoc comment for channel to make W=1 builds happy]
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'include/linux/percpu_counter.h')
0 files changed, 0 insertions, 0 deletions