pwm: Constify PWM device where possible
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 1 Jul 2015 08:21:48 +0000 (10:21 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 20 Jul 2015 07:48:34 +0000 (09:48 +0200)
commita1cf42171a2e3c33cbc12bb037795caf0589149b
treeba54b84fff2198e8b0075373f4ade16979ec4a72
parent5c31252c4a86dc591c23f1a951edd52ad791ef0e
pwm: Constify PWM device where possible

The PWM argument is not modified in PWM property accessors, make it a
const argument so that the accessors can be used from sysfs.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
include/linux/pwm.h