All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: cs4265: Remove unused *dev field from struct cs4265_private
@ 2014-10-06 15:14 Axel Lin
  2014-10-06 15:23 ` Paul Handrigan
  2014-10-06 17:33 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2014-10-06 15:14 UTC (permalink / raw)
  To: Mark Brown
  Cc: Brian Austin, alsa-devel@alsa-project.org, Liam Girdwood,
	Paul Handrigan

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 sound/soc/codecs/cs4265.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sound/soc/codecs/cs4265.c b/sound/soc/codecs/cs4265.c
index 4fdd47d..ce60868 100644
--- a/sound/soc/codecs/cs4265.c
+++ b/sound/soc/codecs/cs4265.c
@@ -32,7 +32,6 @@
 #include "cs4265.h"
 
 struct cs4265_private {
-	struct device *dev;
 	struct regmap *regmap;
 	struct gpio_desc *reset_gpio;
 	u8 format;
@@ -598,7 +597,6 @@ static int cs4265_i2c_probe(struct i2c_client *i2c_client,
 			       GFP_KERNEL);
 	if (cs4265 == NULL)
 		return -ENOMEM;
-	cs4265->dev = &i2c_client->dev;
 
 	cs4265->regmap = devm_regmap_init_i2c(i2c_client, &cs4265_regmap);
 	if (IS_ERR(cs4265->regmap)) {
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ASoC: cs4265: Remove unused *dev field from struct cs4265_private
  2014-10-06 15:14 [PATCH] ASoC: cs4265: Remove unused *dev field from struct cs4265_private Axel Lin
@ 2014-10-06 15:23 ` Paul Handrigan
  2014-10-06 17:33 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Handrigan @ 2014-10-06 15:23 UTC (permalink / raw)
  To: Axel Lin
  Cc: alsa-devel@alsa-project.org, Brian Austin, Mark Brown,
	Liam Girdwood, Paul Handrigan



On Mon, 6 Oct 2014, Axel Lin wrote:

> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
> sound/soc/codecs/cs4265.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/sound/soc/codecs/cs4265.c b/sound/soc/codecs/cs4265.c
> index 4fdd47d..ce60868 100644
> --- a/sound/soc/codecs/cs4265.c
> +++ b/sound/soc/codecs/cs4265.c
> @@ -32,7 +32,6 @@
> #include "cs4265.h"
>
> struct cs4265_private {
> -	struct device *dev;
> 	struct regmap *regmap;
> 	struct gpio_desc *reset_gpio;
> 	u8 format;
> @@ -598,7 +597,6 @@ static int cs4265_i2c_probe(struct i2c_client *i2c_client,
> 			       GFP_KERNEL);
> 	if (cs4265 == NULL)
> 		return -ENOMEM;
> -	cs4265->dev = &i2c_client->dev;
>
> 	cs4265->regmap = devm_regmap_init_i2c(i2c_client, &cs4265_regmap);
> 	if (IS_ERR(cs4265->regmap)) {
> -- 
> 1.9.1
Thanks!

Signed-off-by: Paul Handrigan <paul.handrigan@cirrus.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ASoC: cs4265: Remove unused *dev field from struct cs4265_private
  2014-10-06 15:14 [PATCH] ASoC: cs4265: Remove unused *dev field from struct cs4265_private Axel Lin
  2014-10-06 15:23 ` Paul Handrigan
@ 2014-10-06 17:33 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2014-10-06 17:33 UTC (permalink / raw)
  To: Axel Lin
  Cc: Brian Austin, alsa-devel@alsa-project.org, Liam Girdwood,
	Paul Handrigan


[-- Attachment #1.1: Type: text/plain, Size: 124 bytes --]

On Mon, Oct 06, 2014 at 11:14:23PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@ingics.com>

Applied, thanks.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-06 17:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-06 15:14 [PATCH] ASoC: cs4265: Remove unused *dev field from struct cs4265_private Axel Lin
2014-10-06 15:23 ` Paul Handrigan
2014-10-06 17:33 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.