diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2024-02-14 10:31:53 +0100 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2024-02-19 11:04:11 +0100 |
commit | 11265c637e7b196aae64428b2ec60eb21b34ecc1 (patch) | |
tree | 406a7989025493fbf8bfffd23c753eb32137957e /drivers/pwm/pwm-lpss-platform.c | |
parent | 0f83bfd80d8671d24a67c655ab10991b7d768796 (diff) | |
download | linux-stable-11265c637e7b196aae64428b2ec60eb21b34ecc1.tar.gz linux-stable-11265c637e7b196aae64428b2ec60eb21b34ecc1.tar.bz2 linux-stable-11265c637e7b196aae64428b2ec60eb21b34ecc1.zip |
pwm: lpss-*: Don't set driver data
The drivers don't make use of driver data, neither in the variant
pci_get_drvdata() nor as platform_get_drvdata() nor as
dev_get_drvdata(). Drop setting driver data accordingly.
Link: https://lore.kernel.org/r/25671b7562d96b67fd05b3fa6fc76538ddf5914f.1707900770.git.u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'drivers/pwm/pwm-lpss-platform.c')
-rw-r--r-- | drivers/pwm/pwm-lpss-platform.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pwm/pwm-lpss-platform.c b/drivers/pwm/pwm-lpss-platform.c index 319809aac2c4..5f6ee300e342 100644 --- a/drivers/pwm/pwm-lpss-platform.c +++ b/drivers/pwm/pwm-lpss-platform.c @@ -35,8 +35,6 @@ static int pwm_lpss_probe_platform(struct platform_device *pdev) if (IS_ERR(lpwm)) return PTR_ERR(lpwm); - platform_set_drvdata(pdev, lpwm); - /* * On Cherry Trail devices the GFX0._PS0 AML checks if the controller * is on and if it is not on it turns it on and restores what it |