From: Lars-Peter Clausen Date: Fri, 2 Jan 2015 11:24:37 +0000 (+0100) Subject: ALSA: es1688: Remove almost always NULL parameter X-Git-Tag: fixes-v4.0-rc1~146^2~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b8ab88518726197c8659bc9aca96c6af01dab57;p=pandora-kernel.git ALSA: es1688: Remove almost always NULL parameter snd_es1688_pcm() takes a pointer to a pointer of a PCM where if this parameter is provided the newly allocated PCM is stored. This PCM is also available from the pcm field of the snd_es1688 struct that got passed to the same function. This patch updates all callers which passed a pointer to use that field instead and then removes the parameter from the function. This makes the code a bit shorter and cleaner. Signed-off-by: Lars-Peter Clausen Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed