From patchwork Fri May 3 09:09:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 16614 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f198.google.com (mail-ve0-f198.google.com [209.85.128.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 99D3F23905 for ; Fri, 3 May 2013 09:22:38 +0000 (UTC) Received: by mail-ve0-f198.google.com with SMTP id 15sf2619102vea.9 for ; Fri, 03 May 2013 02:22:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=Bmki1ytoZZeWxYHogEQe2sceAQYBZaS4MnnncHageHM=; b=mjctjBp2lcsBNasRr0OD9LYeM8mU7LC2+8Ci6dl/hzYMUZhTF6n5ARQkzrn30HEGBY fW4ooKPAHWUtz10its0nm5gx15gdDjuN1ZjvZqFswTpc4Plb0Gvx7pC1pQnsq1Lahqnk KdjGKDjrxiSy7jiFKZHm7GqtvxI2OaOF4u7GWCgb2LSlV6uPzw2Xd4YrVPC+fQZkjdFN o/gz8tvO9pWwaxCVl5c2lti0fdsgVMiLX1pKrS8TABJxgQ/YTUxgyBgqjm+ZkwzVtWM3 smR6ebMJaPUZC0eAYIPE7hb/JtgRpY7RVOtIKBpL6NuXc81apMqBkukU6BJpTjGim/XD 1IJQ== X-Received: by 10.236.139.230 with SMTP id c66mr7683736yhj.55.1367572948914; Fri, 03 May 2013 02:22:28 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.118.234 with SMTP id kp10ls972010qeb.47.gmail; Fri, 03 May 2013 02:22:28 -0700 (PDT) X-Received: by 10.52.117.212 with SMTP id kg20mr2946978vdb.55.1367572948306; Fri, 03 May 2013 02:22:28 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id wy7si4725348vec.22.2013.05.03.02.22.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 02:22:28 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id m16so1248864vca.2 for ; Fri, 03 May 2013 02:22:28 -0700 (PDT) X-Received: by 10.52.228.71 with SMTP id sg7mr2750319vdc.51.1367572948193; Fri, 03 May 2013 02:22:28 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp13211veb; Fri, 3 May 2013 02:22:27 -0700 (PDT) X-Received: by 10.68.11.164 with SMTP id r4mr13133663pbb.15.1367572947027; Fri, 03 May 2013 02:22:27 -0700 (PDT) Received: from mail-pb0-x230.google.com (mail-pb0-x230.google.com [2607:f8b0:400e:c01::230]) by mx.google.com with ESMTPS id gi9si7316635pac.295.2013.05.03.02.22.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 02:22:27 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::230 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c01::230; Received: by mail-pb0-f48.google.com with SMTP id ma3so808442pbc.35 for ; Fri, 03 May 2013 02:22:20 -0700 (PDT) X-Received: by 10.66.253.132 with SMTP id aa4mr13608024pad.131.1367572940479; Fri, 03 May 2013 02:22:20 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id ea15sm12070993pad.16.2013.05.03.02.22.17 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 02:22:19 -0700 (PDT) From: Sachin Kamat To: alsa-devel@alsa-project.org Cc: broonie@kernel.org, tiwai@suse.de, sachin.kamat@linaro.org, patches@linaro.org, Sangbeom Kim Subject: [PATCH 1/6] ASoC: Samsung: Remove redundant platform_set_drvdata() Date: Fri, 3 May 2013 14:39:19 +0530 Message-Id: <1367572164-19523-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQkibmo7CiUGelS482c1nyHjOkLKth+Ft1aTrBjK+e+S3eajeRwS/JVsLwYmvRde5zy5ixgf X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Sangbeom Kim --- sound/soc/samsung/smdk_wm8580pcm.c | 1 - sound/soc/samsung/smdk_wm8994pcm.c | 1 - 2 files changed, 2 deletions(-) diff --git a/sound/soc/samsung/smdk_wm8580pcm.c b/sound/soc/samsung/smdk_wm8580pcm.c index e43bd42..23a9204 100644 --- a/sound/soc/samsung/smdk_wm8580pcm.c +++ b/sound/soc/samsung/smdk_wm8580pcm.c @@ -176,7 +176,6 @@ static int snd_smdk_probe(struct platform_device *pdev) static int snd_smdk_remove(struct platform_device *pdev) { snd_soc_unregister_card(&smdk_pcm); - platform_set_drvdata(pdev, NULL); return 0; } diff --git a/sound/soc/samsung/smdk_wm8994pcm.c b/sound/soc/samsung/smdk_wm8994pcm.c index 3688a32..0c84ca0 100644 --- a/sound/soc/samsung/smdk_wm8994pcm.c +++ b/sound/soc/samsung/smdk_wm8994pcm.c @@ -146,7 +146,6 @@ static int snd_smdk_probe(struct platform_device *pdev) static int snd_smdk_remove(struct platform_device *pdev) { snd_soc_unregister_card(&smdk_pcm); - platform_set_drvdata(pdev, NULL); return 0; }