From patchwork Thu Aug 23 10:54:16 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 1366331 Return-Path: X-Original-To: patchwork-linux-fbdev@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 7C6F93FC66 for ; Thu, 23 Aug 2012 10:54:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964865Ab2HWKyT (ORCPT ); Thu, 23 Aug 2012 06:54:19 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:11794 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964776Ab2HWKyS (ORCPT ); Thu, 23 Aug 2012 06:54:18 -0400 Received: from epcpsbgm2.samsung.com (mailout2.samsung.com [203.254.224.25]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M9700LRLFMFCG00@mailout2.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 23 Aug 2012 19:54:17 +0900 (KST) X-AuditID: cbfee61b-b7faf6d00000476a-c0-50360bd9e4fb Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 83.03.18282.9DB06305; Thu, 23 Aug 2012 19:54:17 +0900 (KST) Received: from DOJG1HAN02 ([12.23.119.56]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M9700J6RFMGN240@mmp2.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 23 Aug 2012 19:54:17 +0900 (KST) From: Jingoo Han To: 'Florian Tobias Schandinat' Cc: linux-fbdev@vger.kernel.org, 'Jingoo Han' Subject: [PATCH 1/2] video: exynos_dp: change return type of exynos_dp_init_video to void Date: Thu, 23 Aug 2012 19:54:16 +0900 Message-id: <000a01cd811d$a408b080$ec1a1180$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac2BHaOtnuvF4GZFR7GgzJHa/4fJ9Q== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrMLMWRmVeSWpSXmKPExsVy+t9jQd2b3GYBBm9Pclmc6PvA6sDo8XmT XABjFJdNSmpOZllqkb5dAldG77INjAV/eSvmta9hbmCcwNPFyMkhIWAicaJ1ExuELSZx4d56 IJuLQ0hgOqNEz73t7BDOLCaJ7fMuMYNUsQmoSXz5chgowcEhImAlsWmrJkiYWcBZYsKNE2CD hAWiJa5snAZmswioSnxe18wIYvMK2EqsmdjABmELSvyYfI8FoldLYv3O40wQtrzE5jVvmUHG SwioSzz6qwuxSU/ibhcPRIWIxL4X7xgnMArMQjJoFpJBs5AMmoWkZQEjyypG0dSC5ILipPRc I73ixNzi0rx0veT83E2M4KB8Jr2DcVWDxSFGAQ5GJR7egHumAUKsiWXFlbmHGCU4mJVEeL04 zQKEeFMSK6tSi/Lji0pzUosPMUpzsCiJ8/L3GQYICaQnlqRmp6YWpBbBZJk4OKUaGCXzNrYe +2xa+1Xj/SHbbibJ1cyzPSvS7RjXF4sJb617pJTz9ZzxhLBvJ2o3VWtVKaUpLX+R8FrD48bn b7vnFh77OePP5C1RLHO/1qTN4a5QNP9bejrymamovESpmpLY+SKJTMtFj5I/Ry5k6Ki1Zo08 875BWN7aKCy0Otfe9aPbyu9T+D9lKLEUZyQaajEXFScCAHfxF5FGAgAA X-TM-AS-MML: No Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org This patch changes return type of exynos_dp_init_video to void, because the return value is unnecessary. Signed-off-by: Jingoo Han --- drivers/video/exynos/exynos_dp_core.h | 2 +- drivers/video/exynos/exynos_dp_reg.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/video/exynos/exynos_dp_core.h b/drivers/video/exynos/exynos_dp_core.h index 8526e54..1e244ea 100644 --- a/drivers/video/exynos/exynos_dp_core.h +++ b/drivers/video/exynos/exynos_dp_core.h @@ -105,7 +105,7 @@ u32 exynos_dp_get_lane1_link_training(struct exynos_dp_device *dp); u32 exynos_dp_get_lane2_link_training(struct exynos_dp_device *dp); u32 exynos_dp_get_lane3_link_training(struct exynos_dp_device *dp); void exynos_dp_reset_macro(struct exynos_dp_device *dp); -int exynos_dp_init_video(struct exynos_dp_device *dp); +void exynos_dp_init_video(struct exynos_dp_device *dp); void exynos_dp_set_video_color_format(struct exynos_dp_device *dp, u32 color_depth, diff --git a/drivers/video/exynos/exynos_dp_reg.c b/drivers/video/exynos/exynos_dp_reg.c index 2db5b9a..e29497b 100644 --- a/drivers/video/exynos/exynos_dp_reg.c +++ b/drivers/video/exynos/exynos_dp_reg.c @@ -994,7 +994,7 @@ void exynos_dp_reset_macro(struct exynos_dp_device *dp) writel(reg, dp->reg_base + EXYNOS_DP_PHY_TEST); } -int exynos_dp_init_video(struct exynos_dp_device *dp) +void exynos_dp_init_video(struct exynos_dp_device *dp) { u32 reg; @@ -1012,8 +1012,6 @@ int exynos_dp_init_video(struct exynos_dp_device *dp) reg = VID_HRES_TH(2) | VID_VRES_TH(0); writel(reg, dp->reg_base + EXYNOS_DP_VIDEO_CTL_8); - - return 0; } void exynos_dp_set_video_color_format(struct exynos_dp_device *dp,