Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752106Ab2KWPE1 (ORCPT ); Fri, 23 Nov 2012 10:04:27 -0500 Received: from moutng.kundenserver.de ([212.227.17.10]:49715 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750915Ab2KWPEZ (ORCPT ); Fri, 23 Nov 2012 10:04:25 -0500 Date: Fri, 23 Nov 2012 16:04:12 +0100 From: Thierry Reding To: Peter Ujfalusi Cc: Tero Kristo , Grazvydas Ignotas , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Linus Walleij Subject: Re: [PATCH v3 3/3] pwm: New driver to support PWM driven LEDs on TWL4030/6030 series of PMICs Message-ID: <20121123150412.GB16810@avionic-0098.adnet.avionic-design.de> References: <1353405382-9226-1-git-send-email-peter.ujfalusi@ti.com> <1353405382-9226-4-git-send-email-peter.ujfalusi@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oLBj+sq0vYjzfsbl" Content-Disposition: inline In-Reply-To: <1353405382-9226-4-git-send-email-peter.ujfalusi@ti.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Provags-ID: V02:K0:Qy/T4wgtyvgwtse5MaeO5XS3+A4kFiOsyiHC/tQZK6J /532HVAUssKrbPEwQtoGNA9vnzsKOiwKwcoxqNpnU62Gm+Xj/q WyqxigcsQqf/1pSQN4e70qIHwalpIFD3T70diFLj+8Gf7zwMGn 6aTBNbGYeZGSg+hXz3XdDEfV4SXK0BG1dm/dU9AxdZoo0Qk83N 8iWVDgPcM/vaxpunEvmdA0qO5ooUdWGGRfaZsCTfULcTxnheib RLwlkfVrzvU3/Pd1QD2YsLRR6gLdcau3fpqsgFYBVUovMRc5+R qZE5uDCW9NYJW7l9MBHRMwv18KAFeAbaAEy+uGd4n0L/F/e/w/ 9IjY2rLUF9JmnexOCORxDGqgyc3jROMkDSYJx53ZsCk8C9YYBZ W7q983Gqe+7sdUdg5oSndqkto+sK4703lkJskK3CoSeXOiRBf9 Zkf96 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2567 Lines: 69 --oLBj+sq0vYjzfsbl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 20, 2012 at 10:56:22AM +0100, Peter Ujfalusi wrote: > The driver supports the following LED outputs as generic PWM driver: > TWL4030 LEDA and LEDB (PWMA and PWMB) > TWL6030 Charging indicator LED (PWM LED) >=20 > On TWL6030 when the PWM requested LED is configured to be controlled by S= W. > In this case the user can enable/disable and set the duty period freely. > When the PWM has been freed, the LED driver is put back to HW control. >=20 > Signed-off-by: Peter Ujfalusi > --- > drivers/pwm/Kconfig | 10 ++ > drivers/pwm/Makefile | 1 + > drivers/pwm/pwm-twl-led.c | 303 ++++++++++++++++++++++++++++++++++++++++= ++++++ > 3 files changed, 314 insertions(+) > create mode 100644 drivers/pwm/pwm-twl-led.c Doesn't this belong in the drivers/leds subsystem? Besides that, the same comments as for the previous patch apply. One additional note below. > +static struct platform_driver twl_pwmled_driver =3D { > + .driver =3D { > + .name =3D "twl-pwmled", > + .of_match_table =3D of_match_ptr(twl_pwmled_of_match), > + }, > + .probe =3D twl_pwmled_probe, > + .remove =3D __devexit_p(twl_pwmled_remove), You didn't annotate twl_pwmled_remove() with __devexit, so __devexit_p isn't needed here either. Thierry --oLBj+sq0vYjzfsbl Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQIcBAEBAgAGBQJQr5BsAAoJEN0jrNd/PrOhp9kP/RzoxDKI4W6V9eDon+tAuJFc ahyvQdaqEMFDqiVVf0GpiGuFkEDdZ2MgQMLCyH1cGUoGPT1xArPg+SMG2rpIGT8C qtjldukFJUcyamzF6MUh4uJdWtDSkch6Jus+dfb3nxT14Tfil/9YvEAkyKGDiAwN ntU3LaxPKT2efFFHJpeLdOUiwqvwdpkv9ao93vkVzcICqpQc1hanIX5qJYdGqWzH VM2A12EhNaMHkbSIAxsVz5ft/ZShrJhDVtNmCFeYIb0c7W6PN6B2dvE39QoVfVT3 xwx5Njy4vqwGY9UEgYANby4Q9ag6TzQH+9p29WF8OPAK+YdhYfejmFhAIWk2nNNI lkc3Mq6HFJm1z5bPwDuxXNUMqPgRX8SfwWRxhu7yRz14A2O4tBKLRT0B6t2UKtZD SJWeXpsPCVw+Kgi2prrOQFHK8ze1EQLmp8kngP0sjEZ9/82dFlUR070BWRX+Oz9w 5HUqcxacERaU06/IqYUyG0C0y+7ST8astbENuxrfKjcqbCzCktDsRwWHVfJpr8Hf +BOqD5CCUI+5i5IiL/bmvvvj4h24Uoio0BMZIFOFELtHW7ZU4VgwEOuMUxEQa1Lh v6rKzmYQb11Qt5U0ZW3Pq1tjLTBo4nakelIvstcZ1gsVHZFz4RL4pC5dVKop00Dj +gHvevjcc2LCQRtMyhOE =G/rG -----END PGP SIGNATURE----- --oLBj+sq0vYjzfsbl-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/