commit | 354bf751339082161a9911022c45831992026f1b | [log] [tgz] |
---|---|---|
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | Sun Mar 10 12:00:56 2024 +0100 |
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | Fri Apr 26 21:29:16 2024 +0200 |
tree | 7c277b3461cfbbca943f4faf824a065a72121eb4 | |
parent | 3025c9c669bac6c193a8f5fc2570f705b675eb40 [diff] |
pwm: sti: Drop member from driver data that only carries a constant The .regfield member of struct sti_pwm_compat_data only holds a pointer to the global array sti_pwm_regfields. Replace the few usages by directly using this array and drop the member, saving a bit of memory and a few pointer dereferences. Link: https://lore.kernel.org/r/7ddb76ef49fd84a07713b46c65374cb51f3b4ac0.1710068192.git.u.kleine-koenig@pengutronix.de Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>