From mboxrd@z Thu Jan 1 00:00:00 1970 From: thierry.reding@gmail.com (Thierry Reding) Date: Mon, 20 Jul 2015 09:50:50 +0200 Subject: [RFC PATCH 02/15] pwm: fix pwm_get_period and pwm_get_duty_cycle prototypes In-Reply-To: <1435738921-25027-3-git-send-email-boris.brezillon@free-electrons.com> References: <1435738921-25027-1-git-send-email-boris.brezillon@free-electrons.com> <1435738921-25027-3-git-send-email-boris.brezillon@free-electrons.com> Message-ID: <20150720075049.GC29614@ulmo> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Jul 01, 2015 at 10:21:48AM +0200, Boris Brezillon wrote: > The pwm argument is not modified in pwm_get helpers, make it a const > argument so that they can be used from the sysfs functions. > > Signed-off-by: Boris Brezillon > --- > include/linux/pwm.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied with a slightly reworded commit message. The prototypes weren't "broken" so there's nothing to "fix". Also s/pwm/PWM/. Thanks, Thierry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Subject: Re: [RFC PATCH 02/15] pwm: fix pwm_get_period and pwm_get_duty_cycle prototypes Date: Mon, 20 Jul 2015 09:50:50 +0200 Message-ID: <20150720075049.GC29614@ulmo> References: <1435738921-25027-1-git-send-email-boris.brezillon@free-electrons.com> <1435738921-25027-3-git-send-email-boris.brezillon@free-electrons.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="L6iaP+gRLNZHKoI4" Return-path: Content-Disposition: inline In-Reply-To: <1435738921-25027-3-git-send-email-boris.brezillon@free-electrons.com> Sender: linux-pwm-owner@vger.kernel.org To: Boris Brezillon Cc: linux-pwm@vger.kernel.org, Mark Brown , Liam Girdwood , Bryan Wu , Richard Purdie , Jacek Anaszewski , linux-leds@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jean-Christophe Plagniol-Villard , Tomi Valkeinen , linux-fbdev@vger.kernel.org, Stephen Warren , Alexandre Courbot , linux-tegra@vger.kernel.org, Maxime Ripard , Jingoo Han , Lee Jones , Doug Anderson List-Id: linux-leds@vger.kernel.org --L6iaP+gRLNZHKoI4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 01, 2015 at 10:21:48AM +0200, Boris Brezillon wrote: > The pwm argument is not modified in pwm_get helpers, make it a const > argument so that they can be used from the sysfs functions. >=20 > Signed-off-by: Boris Brezillon > --- > include/linux/pwm.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied with a slightly reworded commit message. The prototypes weren't "broken" so there's nothing to "fix". Also s/pwm/PWM/. Thanks, Thierry --L6iaP+gRLNZHKoI4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJVrKhZAAoJEN0jrNd/PrOhG08QALBNyP8U2H1TjieUoq6OlQ5I U1fZUZTnTowkC67bxbE375DuSPydr/lUykQfhwS/EGn/WtMNSRNqZETYkU0N7huK A9jZ3g7aDOXACH6tT4LVwJh5MwZAhXgaLVsbrZiNOD34Slj2m5sOH48x/w3RgJEh hVg6nauENPBAxDDYKEWFrhkMrkFX+DxMUWBsxUYX5hp0NwfuasmY7UyhM+m4AKtB bDyBEy5BCI+2X8sZ2wra1VvajVLNktnK1EKLVsBbj40yZI1nArnVsa6O8VZylfjl dQnjnfcchgS/8UqtUc/zBMNUlEAKS8k1bl1wsNfrMDfeBd6iA8P0ATvMrlHdbT// zDtYHtboxn8QNpPI6RvPe481XJeDNQ93GCYqNiFxXOUkt9bL5RbzsgFW99p4281k lnsVB/+5dPrV7oy1BrpNa7fEi1OePfARxw5dFIzij9iLbgIfcnhagxfh7HagNOaL kwdYSUQ3a8IaufdSj6Ew211XEEsYJzRsJ4J349TAWODw18gpNzoeUxO2eQK3AANI hN50mLZLua/E6XL7TTDYQRmIb52ZaOU17IUZ624lpnw1m8V59rx2M6fa58WN0WYV 0HDouI9skdiiAYy3wpXua6S+tgE1PueugUgAShqeP2DPDuoUtv7yiMY/XjAxxF3/ LEHTUYLGbIu7tLzGSQwN =1NiT -----END PGP SIGNATURE----- --L6iaP+gRLNZHKoI4-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Date: Mon, 20 Jul 2015 07:50:50 +0000 Subject: Re: [RFC PATCH 02/15] pwm: fix pwm_get_period and pwm_get_duty_cycle prototypes Message-Id: <20150720075049.GC29614@ulmo> MIME-Version: 1 Content-Type: multipart/mixed; boundary="L6iaP+gRLNZHKoI4" List-Id: References: <1435738921-25027-1-git-send-email-boris.brezillon@free-electrons.com> <1435738921-25027-3-git-send-email-boris.brezillon@free-electrons.com> In-Reply-To: <1435738921-25027-3-git-send-email-boris.brezillon@free-electrons.com> To: linux-arm-kernel@lists.infradead.org --L6iaP+gRLNZHKoI4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 01, 2015 at 10:21:48AM +0200, Boris Brezillon wrote: > The pwm argument is not modified in pwm_get helpers, make it a const > argument so that they can be used from the sysfs functions. >=20 > Signed-off-by: Boris Brezillon > --- > include/linux/pwm.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied with a slightly reworded commit message. The prototypes weren't "broken" so there's nothing to "fix". Also s/pwm/PWM/. Thanks, Thierry --L6iaP+gRLNZHKoI4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJVrKhZAAoJEN0jrNd/PrOhG08QALBNyP8U2H1TjieUoq6OlQ5I U1fZUZTnTowkC67bxbE375DuSPydr/lUykQfhwS/EGn/WtMNSRNqZETYkU0N7huK A9jZ3g7aDOXACH6tT4LVwJh5MwZAhXgaLVsbrZiNOD34Slj2m5sOH48x/w3RgJEh hVg6nauENPBAxDDYKEWFrhkMrkFX+DxMUWBsxUYX5hp0NwfuasmY7UyhM+m4AKtB bDyBEy5BCI+2X8sZ2wra1VvajVLNktnK1EKLVsBbj40yZI1nArnVsa6O8VZylfjl dQnjnfcchgS/8UqtUc/zBMNUlEAKS8k1bl1wsNfrMDfeBd6iA8P0ATvMrlHdbT// zDtYHtboxn8QNpPI6RvPe481XJeDNQ93GCYqNiFxXOUkt9bL5RbzsgFW99p4281k lnsVB/+5dPrV7oy1BrpNa7fEi1OePfARxw5dFIzij9iLbgIfcnhagxfh7HagNOaL kwdYSUQ3a8IaufdSj6Ew211XEEsYJzRsJ4J349TAWODw18gpNzoeUxO2eQK3AANI hN50mLZLua/E6XL7TTDYQRmIb52ZaOU17IUZ624lpnw1m8V59rx2M6fa58WN0WYV 0HDouI9skdiiAYy3wpXua6S+tgE1PueugUgAShqeP2DPDuoUtv7yiMY/XjAxxF3/ LEHTUYLGbIu7tLzGSQwN =1NiT -----END PGP SIGNATURE----- --L6iaP+gRLNZHKoI4--