From patchwork Mon May 20 08:38:36 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 17054 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f197.google.com (mail-ve0-f197.google.com [209.85.128.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B44AA20F30 for ; Mon, 20 May 2013 08:53:26 +0000 (UTC) Received: by mail-ve0-f197.google.com with SMTP id ox1sf8023941veb.0 for ; Mon, 20 May 2013 01:52:38 -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 :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=vL4izPloZSNj1Y7GTMnDPKOvxH3uyEfM8827LgXKVl0=; b=lP0blMTWMD61QT+zdqfRxpCguG5reOguTRYKPNhD1YSNMRRCvCYwa98EL87CdSxZ52 vLujocCIydu8fWKOhZrI8F5JXlu3raKbqaU7HL+KTaslHIpRfaUjmc50f0H98XsIZYzS 8EKkxSRMGTUhA065yAnPiHkO5Ax1AqpHJtEvmRtyjAAYfYZL/bACOTt6pFuOciljY1v3 8kcgQ8UPWQFLOheZujPnOCEX2YvntKT3xJrSTy1xoQdEE1/8SVW05Zn7DNAzhCb2e4Qy +OjzlqouhX/8ra/t4MxfhWKHODVI5kYMxQHJYxvc/xM4rg6OATFVbiGKjlgS7DHbiiFJ vL2Q== X-Received: by 10.224.59.205 with SMTP id m13mr34466678qah.7.1369039958774; Mon, 20 May 2013 01:52:38 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.0.78 with SMTP id 14ls2709807qec.10.gmail; Mon, 20 May 2013 01:52:38 -0700 (PDT) X-Received: by 10.220.155.8 with SMTP id q8mr33577054vcw.42.1369039958606; Mon, 20 May 2013 01:52:38 -0700 (PDT) Received: from mail-vb0-x22e.google.com (mail-vb0-x22e.google.com [2607:f8b0:400c:c02::22e]) by mx.google.com with ESMTPS id sy4si4790164vdc.108.2013.05.20.01.52.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:38 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::22e 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:c02::22e; Received: by mail-vb0-f46.google.com with SMTP id 11so568705vbe.19 for ; Mon, 20 May 2013 01:52:38 -0700 (PDT) X-Received: by 10.220.246.8 with SMTP id lw8mr4973827vcb.8.1369039958431; Mon, 20 May 2013 01:52:38 -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 c10csp73758vcs; Mon, 20 May 2013 01:52:37 -0700 (PDT) X-Received: by 10.66.2.199 with SMTP id 7mr33479027paw.176.1369039957526; Mon, 20 May 2013 01:52:37 -0700 (PDT) Received: from mail-da0-x232.google.com (mail-da0-x232.google.com [2607:f8b0:400e:c00::232]) by mx.google.com with ESMTPS id kx5si15967705pbc.140.2013.05.20.01.52.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:37 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c00::232 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c00::232; Received: by mail-da0-f50.google.com with SMTP id i23so2848816dad.23 for ; Mon, 20 May 2013 01:52:37 -0700 (PDT) X-Received: by 10.66.166.107 with SMTP id zf11mr60552712pab.166.1369039957132; Mon, 20 May 2013 01:52:37 -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.33 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 01:52:36 -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 03/11] ALSA: ml403-ac97cr: Remove redundant platform_set_drvdata() Date: Mon, 20 May 2013 14:08:36 +0530 Message-Id: <1369039124-32590-3-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: ALoCoQkhTexehp9L3pHXE13E9/K1Qte2F3MfxKlCtY3ILx60ho3We4NR2qvwbtc3XHpuW7QHJi5k X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::22e 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/ml403-ac97cr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/drivers/ml403-ac97cr.c b/sound/drivers/ml403-ac97cr.c index 8125a7e..95ea4a1 100644 --- a/sound/drivers/ml403-ac97cr.c +++ b/sound/drivers/ml403-ac97cr.c @@ -1325,7 +1325,6 @@ static int snd_ml403_ac97cr_probe(struct platform_device *pfdev) static int snd_ml403_ac97cr_remove(struct platform_device *pfdev) { snd_card_free(platform_get_drvdata(pfdev)); - platform_set_drvdata(pfdev, NULL); return 0; }