From patchwork Tue Apr 16 06:02:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2447651 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 B30963FD8C for ; Tue, 16 Apr 2013 06:14:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753571Ab3DPGOx (ORCPT ); Tue, 16 Apr 2013 02:14:53 -0400 Received: from mail-pd0-f180.google.com ([209.85.192.180]:49205 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753725Ab3DPGOw (ORCPT ); Tue, 16 Apr 2013 02:14:52 -0400 Received: by mail-pd0-f180.google.com with SMTP id q11so109142pdj.25 for ; Mon, 15 Apr 2013 23:14:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=ZVaI1WLM3tPX080K2+HS8vHYRQi4BZS5GwVuXsFbWW4=; b=H30TiBf3qqBkDI36VCglRj/SnahOj8Vb5DCKRncZ1on+OSeltmf14Jmh9L0ThME/mp /lEY0SsSsUvyTKtSwWJqO3JO7TrFqfdBa969fX/DL8vhLwmpxXA82I+QMKujUXgA0+o9 cFN29XTq6lzTks8zyj7K4Wnk9g4Vpl6+8fruUlXd3h1gBmHDdy4HYT+0pbdFb7d9HDF0 cQXO6LWm4OvAFT4li3vYo9o2vdhR2pj4oERIDFqhbFa3nI9UdJUwRmuAUiOn8qzMoUen 6O8tOiT/jjsVOY8/js3sGQSMTC5nsAhKHVrgO/kUrR0dVuBupyyT+qZ70H0WeCUHtiNv YEyA== X-Received: by 10.68.13.135 with SMTP id h7mr1181929pbc.113.1366092891726; Mon, 15 Apr 2013 23:14:51 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPS id li15sm1333239pab.2.2013.04.15.23.14.48 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Apr 2013 23:14:51 -0700 (PDT) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: s.nawrocki@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 5/5] [media] exynos4-is: Remove unused functions Date: Tue, 16 Apr 2013 11:32:23 +0530 Message-Id: <1366092143-5482-5-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1366092143-5482-1-git-send-email-sachin.kamat@linaro.org> References: <1366092143-5482-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQlURMDj56US+bqO3yKwQkLDqgeUq2kFo0tZm8ovry9MCxehoTMAFSDdn2FCv8k5G2yzc8EE Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org These functions do not have any callers yet and hence could be removed for now. Signed-off-by: Sachin Kamat --- drivers/media/platform/exynos4-is/fimc-is-param.c | 21 --------------------- drivers/media/platform/exynos4-is/fimc-is-regs.c | 12 ------------ 2 files changed, 33 deletions(-) diff --git a/drivers/media/platform/exynos4-is/fimc-is-param.c b/drivers/media/platform/exynos4-is/fimc-is-param.c index 64e41b8..91258d5 100644 --- a/drivers/media/platform/exynos4-is/fimc-is-param.c +++ b/drivers/media/platform/exynos4-is/fimc-is-param.c @@ -288,27 +288,6 @@ void __is_set_sensor(struct fimc_is *is, int fps) fimc_is_set_param_bit(is, PARAM_ISP_OTF_INPUT); } -void __is_set_init_isp_aa(struct fimc_is *is) -{ - struct isp_param *isp; - - isp = &is->config[is->config_index].isp; - - isp->aa.cmd = ISP_AA_COMMAND_START; - isp->aa.target = ISP_AA_TARGET_AF | ISP_AA_TARGET_AE | - ISP_AA_TARGET_AWB; - isp->aa.mode = 0; - isp->aa.scene = 0; - isp->aa.sleep = 0; - isp->aa.face = 0; - isp->aa.touch_x = 0; - isp->aa.touch_y = 0; - isp->aa.manual_af_setting = 0; - isp->aa.err = ISP_AF_ERROR_NONE; - - fimc_is_set_param_bit(is, PARAM_ISP_AA); -} - void __is_set_isp_flash(struct fimc_is *is, u32 cmd, u32 redeye) { unsigned int index = is->config_index; diff --git a/drivers/media/platform/exynos4-is/fimc-is-regs.c b/drivers/media/platform/exynos4-is/fimc-is-regs.c index b0ff67b..93b446f 100644 --- a/drivers/media/platform/exynos4-is/fimc-is-regs.c +++ b/drivers/media/platform/exynos4-is/fimc-is-regs.c @@ -96,18 +96,6 @@ int fimc_is_hw_set_param(struct fimc_is *is) return 0; } -int fimc_is_hw_set_tune(struct fimc_is *is) -{ - fimc_is_hw_wait_intmsr0_intmsd0(is); - - mcuctl_write(HIC_SET_TUNE, is, MCUCTL_REG_ISSR(0)); - mcuctl_write(is->sensor_index, is, MCUCTL_REG_ISSR(1)); - mcuctl_write(is->h2i_cmd.entry_id, is, MCUCTL_REG_ISSR(2)); - - fimc_is_hw_set_intgr0_gd0(is); - return 0; -} - #define FIMC_IS_MAX_PARAMS 4 int fimc_is_hw_get_params(struct fimc_is *is, unsigned int num_args)