[PATCH] ALSA: ppc: keywest: remove outdated comment

Subsystems: sound, the rest

STALE1991d LANDED

Landed in mainline as 9c896eeca457 on 2021-03-11.

2 messages, 2 authors, 2021-03-11 · open the first message on its own page

[PATCH] ALSA: ppc: keywest: remove outdated comment

From: Wolfram Sang <wsa@kernel.org>
Date: 2021-03-10 19:33:24

The I2C attach_adapter callback is gone. Remove this reference.

Signed-off-by: Wolfram Sang <wsa@kernel.org>
---
 sound/ppc/keywest.c | 5 -----
 1 file changed, 5 deletions(-)
diff --git a/sound/ppc/keywest.c b/sound/ppc/keywest.c
index a6c1905039de..a8915100d6bb 100644
--- a/sound/ppc/keywest.c
+++ b/sound/ppc/keywest.c
@@ -13,12 +13,7 @@
 #include <sound/core.h>
 #include "pmac.h"
 
-/*
- * we have to keep a static variable here since i2c attach_adapter
- * callback cannot pass a private data.
- */
 static struct pmac_keywest *keywest_ctx;
-
 static bool keywest_probed;
 
 static int keywest_probe(struct i2c_client *client,
-- 
2.30.0

Re: [PATCH] ALSA: ppc: keywest: remove outdated comment

From: Takashi Iwai <hidden>
Date: 2021-03-11 10:48:16

On Wed, 10 Mar 2021 20:32:27 +0100,
Wolfram Sang wrote:
The I2C attach_adapter callback is gone. Remove this reference.

Signed-off-by: Wolfram Sang <wsa@kernel.org>
Applied, thanks.


Takashi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help