diff options
author | Alper Nebi Yasak | 2021-05-14 16:48:40 +0300 |
---|---|---|
committer | Simon Glass | 2021-06-05 07:35:47 -0600 |
commit | ca2f948a4b44b587db760510e324c87fda02c15e (patch) | |
tree | c33af6a7d5f98f25485e52367d5adf15517186c3 /drivers | |
parent | 205b9f510035b835d48bae07ce8b968c3d6d75af (diff) |
pwm: cros_ec: Rename "priv_auto_alloc_size" to "priv_auto"
With commit 41575d8e4c33 ("dm: treewide: Rename auto_alloc_size members
to be shorter") "priv_auto_alloc_size" was renamed to "priv_auto". This
driver was sent to the mailing list before that change, merged after it,
and still has the old form. Apply the rename here as well.
Fixes: 1b9ee2882e6b ("pwm: Add a driver for Chrome OS EC PWM")
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pwm/cros_ec_pwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/cros_ec_pwm.c b/drivers/pwm/cros_ec_pwm.c index 44f4105dfd5..4a39c319aa2 100644 --- a/drivers/pwm/cros_ec_pwm.c +++ b/drivers/pwm/cros_ec_pwm.c @@ -80,5 +80,5 @@ U_BOOT_DRIVER(cros_ec_pwm) = { .id = UCLASS_PWM, .of_match = cros_ec_pwm_ids, .ops = &cros_ec_pwm_ops, - .priv_auto_alloc_size = sizeof(struct cros_ec_pwm_priv), + .priv_auto = sizeof(struct cros_ec_pwm_priv), }; |