pwm: Drop owner from pwm_ops for Linux 6.7

The member "owner" is removed from the pwm_ops from
Linux 6.7 onwards with below change.
***
commit 384461abcab6602abc06c2dfb8fb99beeeaa12b0
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

    pwm: Manage owner assignment implicitly for drivers
***

Remove this member.

Bug 4346767

Change-Id: I7893c29641d15ac7ef56d29625a2df696872c659
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3019999
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Laxman Dewangan
2023-11-21 15:30:00 +00:00
committed by mobile promotions
parent b17be80108
commit 9de2a9da7f
4 changed files with 9 additions and 0 deletions

View File

@@ -316,7 +316,9 @@ static const struct pwm_ops pwm_tegra_tach_ops = {
.apply = tegra_pwm_apply,
#endif
.capture = pwm_tegra_tacho_capture,
#if !defined(NV_PWM_OPS_HAS_NO_OWNER)
.owner = THIS_MODULE,
#endif
};
static void pwm_tegra_tach_read_platform_data(struct pwm_tegra_tach *ptt)