]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: ctxfi: changed void * to struct hw *
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Mon, 29 Sep 2014 09:03:21 +0000 (14:33 +0530)
committerTakashi Iwai <tiwai@suse.de>
Tue, 30 Sep 2014 08:34:29 +0000 (10:34 +0200)
commit0f2a05538cc48e630c14ed6408820e42c8046eb2
treea920c67eb3cb63e5081672d6bce8ab72c02d26ce
parent9e2dfcb3b4d0989c5f520c6dda091b6e23505110
ALSA: ctxfi: changed void * to struct hw *

in the code we have void *hw and while using we are always typecasting
it to (struct hw *). it is better to use void type of pointer when we
store different types of pointer , but in this code we are only having
struct hw.
So changed all the relevant reference of void *hw to struct hw *hw,
without any modification of the existing code logic.
the next patch of the series will remove the typecasting which is
not required now.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ctxfi/ctamixer.c
sound/pci/ctxfi/ctamixer.h
sound/pci/ctxfi/ctatc.c
sound/pci/ctxfi/ctatc.h
sound/pci/ctxfi/ctdaio.c
sound/pci/ctxfi/ctdaio.h
sound/pci/ctxfi/ctresource.c
sound/pci/ctxfi/ctresource.h
sound/pci/ctxfi/ctsrc.c
sound/pci/ctxfi/ctsrc.h