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>
This commit is contained in:
Uwe Kleine-König 2021-11-23 10:29:38 +01:00 committed by Thierry Reding
parent c4fab45290
commit 74746ac0f0

View File

@ -301,8 +301,6 @@ static int __init stmpe_pwm_probe(struct platform_device *pdev)
return ret; return ret;
} }
platform_set_drvdata(pdev, pwm);
return 0; return 0;
} }