From patchwork Mon May 20 08:38:38 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 17056 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ea0-f198.google.com (mail-ea0-f198.google.com [209.85.215.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1D9EB20F30 for ; Mon, 20 May 2013 08:53:37 +0000 (UTC) Received: by mail-ea0-f198.google.com with SMTP id d10sf5481759eaj.9 for ; Mon, 20 May 2013 01:52:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references: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=85jtFBZcKg26adFaWujnOCCOHRX6n46NCSD55rRp4PM=; b=cMK0L2w5g03FZG7GaQE0ztXH9TU6KOaTc6Og0H6IdUJaOjZc2gLijkROP72ZL3lHsP o8DDFN9AXgKHKBtkk2UkVpvgPibGgoji4T6DO7NqSVJFj6kkG3Mn5oWKgJ9nO3I+duoC CejLESVCox4UUaLcpvlOtUC8jMasuxVyZjBgKVgW6bOG/Gv11UIl44IzLgiyO4yXi26/ l97xnFwsoX1vJzRChx0hxaUvLLgjcJ262i1RrG/o4KCs0W/s8OsPANTldRAIZ1FuATd9 q8sDqZw5/pvq5ukMrSjgc6Tc2s7XUK5toSJDJSpgZTcJ2NK+8zwIEjK6i1q8Qtjp8ZRT YgqQ== X-Received: by 10.180.76.115 with SMTP id j19mr618342wiw.2.1369039967385; Mon, 20 May 2013 01:52:47 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.180.83.6 with SMTP id m6ls549958wiy.23.canary; Mon, 20 May 2013 01:52:47 -0700 (PDT) X-Received: by 10.180.107.35 with SMTP id gz3mr10397061wib.0.1369039967310; Mon, 20 May 2013 01:52:47 -0700 (PDT) Received: from mail-ve0-x22a.google.com (mail-ve0-x22a.google.com [2607:f8b0:400c:c01::22a]) by mx.google.com with ESMTPS id ct6si3352531wib.107.2013.05.20.01.52.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:47 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::22a is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::22a; Received: by mail-ve0-f170.google.com with SMTP id 15so3631698vea.15 for ; Mon, 20 May 2013 01:52:46 -0700 (PDT) X-Received: by 10.52.69.200 with SMTP id g8mr11186252vdu.4.1369039966214; Mon, 20 May 2013 01:52:46 -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.220.126.138 with SMTP id c10csp73764vcs; Mon, 20 May 2013 01:52:45 -0700 (PDT) X-Received: by 10.68.180.132 with SMTP id do4mr59707887pbc.96.1369039965194; Mon, 20 May 2013 01:52:45 -0700 (PDT) Received: from mail-pd0-f173.google.com (mail-pd0-f173.google.com [209.85.192.173]) by mx.google.com with ESMTPS id pl14si16239931pab.256.2013.05.20.01.52.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:45 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.173 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.173; Received: by mail-pd0-f173.google.com with SMTP id v10so5201016pde.4 for ; Mon, 20 May 2013 01:52:44 -0700 (PDT) X-Received: by 10.68.13.228 with SMTP id k4mr58354588pbc.215.1369039964574; Mon, 20 May 2013 01:52:44 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id ya4sm23252056pbb.24.2013.05.20.01.52.40 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:44 -0700 (PDT) From: Sachin Kamat To: alsa-devel@alsa-project.org Cc: tiwai@suse.de, perex@perex.cz, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 05/11] ALSA: mtpav: Remove redundant platform_set_drvdata() Date: Mon, 20 May 2013 14:08:38 +0530 Message-Id: <1369039124-32590-5-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1369039124-32590-1-git-send-email-sachin.kamat@linaro.org> References: <1369039124-32590-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQlquYN4FCbphrPnh96QXt9pCfFB5oqSTA0xFwOo+LR/fbsEBgzTYY1jCHk4KmxrUYImjfHD X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::22a 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 --- sound/drivers/mtpav.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/drivers/mtpav.c b/sound/drivers/mtpav.c index 9f1815b..e5ec7eb 100644 --- a/sound/drivers/mtpav.c +++ b/sound/drivers/mtpav.c @@ -749,7 +749,6 @@ static int snd_mtpav_probe(struct platform_device *dev) static int snd_mtpav_remove(struct platform_device *devptr) { snd_card_free(platform_get_drvdata(devptr)); - platform_set_drvdata(devptr, NULL); return 0; }