]> Git Repo - J-linux.git/blobdiff - drivers/pwm/pwm-atmel.c
pwm: Manage owner assignment implicitly for drivers
[J-linux.git] / drivers / pwm / pwm-atmel.c
index 1f73325d1bea0a3fe2669934af3930a2cce2f233..47bcc8a3bf9d50c48cf80f29e1b03defdb388e4c 100644 (file)
@@ -402,7 +402,6 @@ static int atmel_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
 static const struct pwm_ops atmel_pwm_ops = {
        .apply = atmel_pwm_apply,
        .get_state = atmel_pwm_get_state,
-       .owner = THIS_MODULE,
 };
 
 static const struct atmel_pwm_data atmel_sam9rl_pwm_data = {
@@ -547,7 +546,7 @@ disable_clk:
 static struct platform_driver atmel_pwm_driver = {
        .driver = {
                .name = "atmel-pwm",
-               .of_match_table = of_match_ptr(atmel_pwm_dt_ids),
+               .of_match_table = atmel_pwm_dt_ids,
        },
        .probe = atmel_pwm_probe,
 };
This page took 0.026398 seconds and 4 git commands to generate.