From patchwork Fri May 24 11:25:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2610741 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id B9FDBDF24C for ; Fri, 24 May 2013 11:38:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751633Ab3EXLi4 (ORCPT ); Fri, 24 May 2013 07:38:56 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:58708 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750933Ab3EXLiz (ORCPT ); Fri, 24 May 2013 07:38:55 -0400 Received: by mail-pa0-f47.google.com with SMTP id kl12so749288pab.20 for ; Fri, 24 May 2013 04:38:55 -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:x-gm-message-state; bh=rZ0BbjH5EcdFJuN+c8dyRn0j6yfPt9F7xytMKK7ADeY=; b=lIDQghwmyQVGEFHJNPAz/McNCnYhiZ4ErlBn85hLb0xttp7PrM2gxSPsn6RuK+jh53 0A8uu9R7r4XWHQFZA7l6QyAzfsapYPdpRvim47LHJdi8ZWe1Ah6pPsLRuXmUOk42CC9y wnJPWCToxUjs8n7T+n2srSpPKFs7qEoScxy7gzlrPgUbUBLGCr4UKaiYidNyOnQRNMJK IuHK6VMjH6GtAiREAfjSy4Cgq2yQjeDwUFbHJxVHj19oD5vOymjzRLSwHOIC/XOTsBZB Kx6coaDEFMgKL++CpaPkeQvrRfdQiKt2N1EmBGJqdy5MKfcoRakVZaeH5IM0jPHzCLwk 6VTA== X-Received: by 10.66.216.136 with SMTP id oq8mr17596221pac.161.1369395535355; Fri, 24 May 2013 04:38:55 -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.52 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 24 May 2013 04:38:54 -0700 (PDT) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: g.liakhovetski@gmx.de, sachin.kamat@linaro.org, Kuninori Morimoto Subject: [PATCH 1/2] [media] soc_camera: mt9t112: Remove empty function Date: Fri, 24 May 2013 16:55:06 +0530 Message-Id: <1369394707-13049-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQlsl4d4dC5MaSzuTx6sU5fw2fi5c58epehj2APx38HV4Q53q1P5Nr5S94ALVcHjq+10lsyr 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/mt9t112.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/media/i2c/soc_camera/mt9t112.c b/drivers/media/i2c/soc_camera/mt9t112.c index a7256b7..0af29a4 100644 --- a/drivers/media/i2c/soc_camera/mt9t112.c +++ b/drivers/media/i2c/soc_camera/mt9t112.c @@ -1118,11 +1118,6 @@ static int mt9t112_probe(struct i2c_client *client, return ret; } -static int mt9t112_remove(struct i2c_client *client) -{ - return 0; -} - static const struct i2c_device_id mt9t112_id[] = { { "mt9t112", 0 }, { } @@ -1134,7 +1129,6 @@ static struct i2c_driver mt9t112_i2c_driver = { .name = "mt9t112", }, .probe = mt9t112_probe, - .remove = mt9t112_remove, .id_table = mt9t112_id, };