This is not verifiable in the main kernel since it affected stub code which is not in use with that config. The only kernel running into it was linux-kvm. This builds now and double checked that this was done by the change:
@@ -483,11 +483,6 @@ static inline int devm_pwmchip_add(struct device *dev, struct pwm_chip *chip) return -EINVAL; }
-static inline int devm_pwmchip_add(struct device *dev, struct pwm_chip *chip) -{ - return -EINVAL; -}
Note that the function name deleted is the same as the name of the function directly before (as the @@ hint shows).
This is not verifiable in the main kernel since it affected stub code which is not in use with that config. The only kernel running into it was linux-kvm. This builds now and double checked that this was done by the change:
@@ -483,11 +483,6 @@ static inline int devm_pwmchip_ add(struct device *dev, struct pwm_chip *chip)
return -EINVAL;
}
-static inline int devm_pwmchip_ add(struct device *dev, struct pwm_chip *chip)
-{
- return -EINVAL;
-}
Note that the function name deleted is the same as the name of the function directly before (as the @@ hint shows).