* [PATCH V1] regulators: da9062: Remove unused variable build warning
@ 2015-06-01 13:00 S Twiss
2015-06-02 11:11 ` Mark Brown
0 siblings, 1 reply; 3+ messages in thread
From: S Twiss @ 2015-06-01 13:00 UTC (permalink / raw)
To: LINUXKERNEL, Liam Girdwood, Mark Brown
Cc: David Dajun Chen, Support Opensource
From: S Twiss <stwiss.opensource@diasemi.com>
Remove the unused variable build warning for reg_matches that appears
during the compilation of the DA9062 regulator driver.
da9062-regulator.c: In function da9062_regulator_probe:
da9062-regulator.c:727:29: warning: unused variable reg_matches
Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com>
---
This patch applies against linux-next and next-20150528
drivers/regulator/da9062-regulator.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/regulator/da9062-regulator.c b/drivers/regulator/da9062-regulator.c
index e572a65..dd76da0 100644
--- a/drivers/regulator/da9062-regulator.c
+++ b/drivers/regulator/da9062-regulator.c
@@ -724,7 +724,6 @@ ldo_lim_error:
static int da9062_regulator_probe(struct platform_device *pdev)
{
struct da9062 *chip = dev_get_drvdata(pdev->dev.parent);
- struct of_regulator_match *reg_matches = NULL;
struct da9062_regulators *regulators;
struct da9062_regulator *regl;
struct regulator_config config = { };
--
end-of-patch for PATCH V1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH V1] regulators: da9062: Remove unused variable build warning
2015-06-01 13:00 [PATCH V1] regulators: da9062: Remove unused variable build warning S Twiss
@ 2015-06-02 11:11 ` Mark Brown
2015-06-02 13:02 ` Opensource [Steve Twiss]
0 siblings, 1 reply; 3+ messages in thread
From: Mark Brown @ 2015-06-02 11:11 UTC (permalink / raw)
To: S Twiss; +Cc: LINUXKERNEL, Liam Girdwood, David Dajun Chen, Support Opensource
[-- Attachment #1: Type: text/plain, Size: 317 bytes --]
On Mon, Jun 01, 2015 at 02:00:20PM +0100, S Twiss wrote:
> From: S Twiss <stwiss.opensource@diasemi.com>
>
> Remove the unused variable build warning for reg_matches that appears
> during the compilation of the DA9062 regulator driver.
Applied, please use subject lines matching the style for the subsystem.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH V1] regulators: da9062: Remove unused variable build warning
2015-06-02 11:11 ` Mark Brown
@ 2015-06-02 13:02 ` Opensource [Steve Twiss]
0 siblings, 0 replies; 3+ messages in thread
From: Opensource [Steve Twiss] @ 2015-06-02 13:02 UTC (permalink / raw)
To: Mark Brown
Cc: LINUXKERNEL, Liam Girdwood, David Dajun Chen, Support Opensource
On 02 June 2015 12:12 Mark Brown wrote:
> To: Opensource [Steve Twiss]
> Cc: LINUXKERNEL; Liam Girdwood; David Dajun Chen; Support Opensource
> Subject: Re: [PATCH V1] regulators: da9062: Remove unused variable build
> warning
>
> On Mon, Jun 01, 2015 at 02:00:20PM +0100, S Twiss wrote:
> > From: S Twiss <stwiss.opensource@diasemi.com>
> >
> > Remove the unused variable build warning for reg_matches that appears
> > during the compilation of the DA9062 regulator driver.
>
> Applied, please use subject lines matching the style for the subsystem.
Thanks.
Will use "regulator: da9062:" in future.
Regards,
Steve
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-06-02 13:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-01 13:00 [PATCH V1] regulators: da9062: Remove unused variable build warning S Twiss
2015-06-02 11:11 ` Mark Brown
2015-06-02 13:02 ` Opensource [Steve Twiss]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).