From patchwork Fri May 24 11:25:07 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2610751 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 2E6BE3FD4E for ; Fri, 24 May 2013 11:39:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751845Ab3EXLi7 (ORCPT ); Fri, 24 May 2013 07:38:59 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:37393 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751767Ab3EXLi6 (ORCPT ); Fri, 24 May 2013 07:38:58 -0400 Received: by mail-pa0-f49.google.com with SMTP id bi5so4211236pad.36 for ; Fri, 24 May 2013 04:38:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=vblCIkk0y9rCtYfcUHQou0IK5UKCTmHXlsEBYQCsEa0=; b=BvYyRzEl5TP6eh/pox6qytwlhrnY1bMI3BKk52nvvnnOwLWLakDE6M7Thc7XOFM4f5 EN6KBQ3saZ7eWjRGCaSKGydKq81BzStzGOwz+gsBV5NgopnZXbE0pRiULWc7hVsrWFpu +ptCPbI0ph8XuvRZ3bCzDC56v+WTbsbf6DBXUQ6Iq/1+fSEBEPS1xg6PA9SSY6hu+hU7 Og6lglxW2djulrP8R5WM2R99mf1QeOuBqdc6yxmapvGlr4NOqduIfZ1cLaodn5BlC7YG JAX+cKUfG8UExdgFRxONRkdjby539sYBV1ZOMscEWlASn3aDmREl9+mcTLHNXC+T+Wol Q5KA== X-Received: by 10.66.222.35 with SMTP id qj3mr14979321pac.186.1369395538137; Fri, 24 May 2013 04:38:58 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id j10sm15897028pbh.23.2013.05.24.04.38.55 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 24 May 2013 04:38:57 -0700 (PDT) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: g.liakhovetski@gmx.de, sachin.kamat@linaro.org, Kuninori Morimoto Subject: [PATCH 2/2] [media] soc_camera: tw9910: Remove empty function Date: Fri, 24 May 2013 16:55:07 +0530 Message-Id: <1369394707-13049-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1369394707-13049-1-git-send-email-sachin.kamat@linaro.org> References: <1369394707-13049-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQmiwVYT3aUs+0cRBeAHj8e09YD/689b09+0eph5CvHpTRZEVHhPZ8xu298K5c3YpHwhv9fu Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org After the switch to devm_* functions, the 'remove' function does not do anything. Delete it. Signed-off-by: Sachin Kamat Cc: Kuninori Morimoto --- drivers/media/i2c/soc_camera/tw9910.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/media/i2c/soc_camera/tw9910.c b/drivers/media/i2c/soc_camera/tw9910.c index bad90b1..6b9cc2a 100644 --- a/drivers/media/i2c/soc_camera/tw9910.c +++ b/drivers/media/i2c/soc_camera/tw9910.c @@ -938,11 +938,6 @@ static int tw9910_probe(struct i2c_client *client, return tw9910_video_probe(client); } -static int tw9910_remove(struct i2c_client *client) -{ - return 0; -} - static const struct i2c_device_id tw9910_id[] = { { "tw9910", 0 }, { } @@ -954,7 +949,6 @@ static struct i2c_driver tw9910_i2c_driver = { .name = "tw9910", }, .probe = tw9910_probe, - .remove = tw9910_remove, .id_table = tw9910_id, };