Message ID | 1367575348-20068-1-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <patchwork-forward+bncBDM5LUP2XEPRBP44R2GAKGQEC6ITK6A@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f200.google.com (mail-ve0-f200.google.com [209.85.128.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 573DE23905 for <linaro@patches.linaro.org>; Fri, 3 May 2013 10:15:37 +0000 (UTC) Received: by mail-ve0-f200.google.com with SMTP id ox1sf2679113veb.7 for <linaro@patches.linaro.org>; Fri, 03 May 2013 03:15:27 -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=87/LYE3j/ZkyJOaDJgQKpOizg2EJ+62FZczj3Xw2Rzc=; b=JtZQlBbim+oJv9bCSdCYZWNxiME1BjPfTthtiIfDOUjSfQi/cWcX7rV9jAset+lWVd Cqq53I4/pJ0jDdmOn2EgmOV1YTsHx8E/dQsb7m2lPzHXLpL8w8i43Gl0p2p7YNxdsNR1 Rkz8XgRdhhLsOrOzLuq8+/6hVdnCEgLND/1NPvz3uwsdLgIYkAZfafI5npuLC8tyIgmC 4Ddq5Hln01rOnuCSvoZspgaX+Tdgg+mEFshYeSkCJqGfjK3tziCZWkSa4oZmQPqnkkhQ yu2RrpeHrH5UtCqL+qOz6/260NVUxgRvTt7Qm81MMLoPxw2uaA5LInZwJqYIwIB/dl3G Zg4A== X-Received: by 10.236.84.52 with SMTP id r40mr7686274yhe.25.1367576127896; Fri, 03 May 2013 03:15:27 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.62.138 with SMTP id y10ls1325856qer.74.gmail; Fri, 03 May 2013 03:15:27 -0700 (PDT) X-Received: by 10.52.176.38 with SMTP id cf6mr2880139vdc.132.1367576127709; Fri, 03 May 2013 03:15:27 -0700 (PDT) Received: from mail-vb0-x233.google.com (mail-vb0-x233.google.com [2607:f8b0:400c:c02::233]) by mx.google.com with ESMTPS id sa4si4799246vdc.36.2013.05.03.03.15.27 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 03:15:27 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::233 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::233; Received: by mail-vb0-f51.google.com with SMTP id x16so1234367vbf.10 for <patchwork-forward@linaro.org>; Fri, 03 May 2013 03:15:27 -0700 (PDT) X-Received: by 10.221.0.199 with SMTP id nn7mr3482789vcb.14.1367576127586; Fri, 03 May 2013 03:15:27 -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 nf2csp14814veb; Fri, 3 May 2013 03:15:26 -0700 (PDT) X-Received: by 10.68.78.68 with SMTP id z4mr12958022pbw.161.1367576125872; Fri, 03 May 2013 03:15:25 -0700 (PDT) Received: from mail-pb0-x22f.google.com (mail-pb0-x22f.google.com [2607:f8b0:400e:c01::22f]) by mx.google.com with ESMTPS id wl4si3366393pbc.59.2013.05.03.03.15.25 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 03:15:25 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::22f is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c01::22f; Received: by mail-pb0-f47.google.com with SMTP id uo1so829921pbc.34 for <patches@linaro.org>; Fri, 03 May 2013 03:15:25 -0700 (PDT) X-Received: by 10.68.230.193 with SMTP id ta1mr13314565pbc.68.1367576125370; Fri, 03 May 2013 03:15:25 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id w8sm11138280pbo.9.2013.05.03.03.15.21 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 03:15:24 -0700 (PDT) From: Sachin Kamat <sachin.kamat@linaro.org> To: linux-scsi@vger.kernel.org Cc: JBottomley@parallels.com, vinholikatti@gmail.com, santoshsy@gmail.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/1] [scsi] ufs: Remove redundant platform_set_drvdata() Date: Fri, 3 May 2013 15:32:28 +0530 Message-Id: <1367575348-20068-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQntWJ5A0W/9qXvweq4m4YbmTYTEvgMx5aCShBTx80NSAs1135++XgTqEHo7zPrD5XZHOYa1 X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::233 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: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post?hl=en-US>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?hl=en-US&topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/?hl=en-US> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe?hl=en-US>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c b/drivers/scsi/ufs/ufshcd-pltfrm.c index 03319ac..3db2ee1 100644 --- a/drivers/scsi/ufs/ufshcd-pltfrm.c +++ b/drivers/scsi/ufs/ufshcd-pltfrm.c @@ -184,7 +184,6 @@ static int ufshcd_pltfrm_remove(struct platform_device *pdev) mem_size = resource_size(mem_res); release_mem_region(mem_res->start, mem_size); } - platform_set_drvdata(pdev, NULL); return 0; }
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 <sachin.kamat@linaro.org> --- drivers/scsi/ufs/ufshcd-pltfrm.c | 1 - 1 file changed, 1 deletion(-)