diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-11-23 10:29:38 +0100 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2022-02-02 18:03:05 +0100 |
commit | 74746ac0f03fdff07e4ad9344aaa4fab4028f9c9 (patch) | |
tree | 7e2f8aa275b077e2653486737cb3560c21639e5a /drivers/pwm | |
parent | c4fab45290620d9fc87d38fed9862c63ae55a2f7 (diff) |
pwm: stmpe: Drop unused setting of driver data
The driver never uses dev_get_drvdata() to retrieve the pwm driver data.
So drop setting it.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm')
-rw-r--r-- | drivers/pwm/pwm-stmpe.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pwm/pwm-stmpe.c b/drivers/pwm/pwm-stmpe.c index 9dc983a3cbf1..7c0e567ff71c 100644 --- a/drivers/pwm/pwm-stmpe.c +++ b/drivers/pwm/pwm-stmpe.c @@ -301,8 +301,6 @@ static int __init stmpe_pwm_probe(struct platform_device *pdev) return ret; } - platform_set_drvdata(pdev, pwm); - return 0; } |