From patchwork Fri Sep 20 08:37:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2915731 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9B22FBFF05 for ; Fri, 20 Sep 2013 08:37:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 91488202B4 for ; Fri, 20 Sep 2013 08:37:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AB34F2029B for ; Fri, 20 Sep 2013 08:37:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754222Ab3ITIhl (ORCPT ); Fri, 20 Sep 2013 04:37:41 -0400 Received: from mail-pd0-f174.google.com ([209.85.192.174]:44901 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754112Ab3ITIhk (ORCPT ); Fri, 20 Sep 2013 04:37:40 -0400 Received: by mail-pd0-f174.google.com with SMTP id y13so124762pdi.33 for ; Fri, 20 Sep 2013 01:37:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=7EfE8pO9wDdD4cvjjBVW0nHQrYzQVFDKrI0ZlxxyaFQ=; b=dCRzJsS8OORlKO3oAxIjGPzKDyOtsIRqH390ltrRF6fyTJV1mZ9e2P6yLEozaHtWeu 4g8A0srLo+bKh1eUkfhzwuppMhOtLKreqv8zw2wbyfzSGiPMcp3dZRmLY2YC7Qx3c2nD FiUbeBngsvlLw2nDDK21eHnzpzZocfK9m00IGFj/1SlF4AOKMJTBHNbg9WC4RF8qmGqp X5DIP/Yj0graSk/KAF/Qv+zESi5P4qh5g0M36PZMJXtgwD3Ld53ic6Rw8nKqPTAg48b1 DIE8obdMVD/Dhoy08ItRPyV0qp4nVv7a0zzSxqDSybYugbtjjMHwfeY0w8hHxaa4lRON 0lzA== X-Gm-Message-State: ALoCoQkwsiQj+mWCDIneyI2voMHfBahSx6B1fgo3UzqUi4yndQTtd9HztECy3oFJvnm2U/CqUqUF X-Received: by 10.68.171.228 with SMTP id ax4mr6744433pbc.48.1379666260222; Fri, 20 Sep 2013 01:37:40 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id py4sm14305294pbc.14.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 20 Sep 2013 01:37:39 -0700 (PDT) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: m.chehab@samsung.com, sachin.kamat@linaro.org Subject: [PATCH 1/1] [media] radio-sf16fmr2: Remove redundant dev_set_drvdata Date: Fri, 20 Sep 2013 14:07:51 +0530 Message-Id: <1379666271-20141-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat Acked-by: Hans Verkuil --- drivers/media/radio/radio-sf16fmr2.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/radio/radio-sf16fmr2.c b/drivers/media/radio/radio-sf16fmr2.c index f1e3714..448cac9 100644 --- a/drivers/media/radio/radio-sf16fmr2.c +++ b/drivers/media/radio/radio-sf16fmr2.c @@ -295,7 +295,6 @@ static void fmr2_remove(struct fmr2 *fmr2) static int fmr2_isa_remove(struct device *pdev, unsigned int ndev) { fmr2_remove(dev_get_drvdata(pdev)); - dev_set_drvdata(pdev, NULL); return 0; }