From patchwork Mon Aug 3 19:09:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 6932721 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3EF93C05AD for ; Mon, 3 Aug 2015 19:10:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6D763205D3 for ; Mon, 3 Aug 2015 19:10:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8379220615 for ; Mon, 3 Aug 2015 19:10:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754650AbbHCTKN (ORCPT ); Mon, 3 Aug 2015 15:10:13 -0400 Received: from mail-yk0-f169.google.com ([209.85.160.169]:32795 "EHLO mail-yk0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754854AbbHCTKM (ORCPT ); Mon, 3 Aug 2015 15:10:12 -0400 Received: by ykoo205 with SMTP id o205so28725792yko.0 for ; Mon, 03 Aug 2015 12:10:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=OrV3rcqQ/Dcz8/YhZ48JZdhMD5VZoZBuhLp9rEY7EcA=; b=CkBDwGhdWn0MJ+Md2wIQ2Rztc9QjjbFJeC4YPL+bIVKkwpcSqEt6CWSVcwFpRtCSPd TLIFN28w5j5h+Ntc9mT+bqJh3uPjfTRyGesKOO2/SsmHkXUar2X5JmS0UkAeNPq6jCMW +hLUy85EhPj6tjxFCR1FvLCFInsLxUCrMjZUPiRD54MwM1O3xjG7x6770WLsS/Ox+XjB v5PTzB9P8Ig0G/m70XzlhP21ldf9DTTSJ7b/Yp7S1HTT4glYh/d5QIohzWJhFqE8bJDe 8sgrvmhlFFlbIH0ufO0WzV+vsCi9YW0BE9iV1698UhgJftr+Rf0+ykGrKOWljRKLHA7G yK5Q== X-Received: by 10.170.51.8 with SMTP id 8mr21974081ykt.38.1438629012199; Mon, 03 Aug 2015 12:10:12 -0700 (PDT) Received: from jade.localdomain ([187.64.235.140]) by smtp.gmail.com with ESMTPSA id i130sm15006226ywb.21.2015.08.03.12.10.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Aug 2015 12:10:11 -0700 (PDT) From: Gustavo Padovan To: linux-samsung-soc@vger.kernel.org Cc: dri-devel@lists.freedesktop.org, inki.dae@samsung.com, jy0922.shim@samsung.com, tjakobi@math.uni-bielefeld.de, Gustavo Padovan Subject: [PATCH 03/11] drm/exynos: remove unused .remove() and .check_mode() ops from display Date: Mon, 3 Aug 2015 16:09:50 -0300 Message-Id: <1438628998-3435-4-git-send-email-gustavo@padovan.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1438628998-3435-1-git-send-email-gustavo@padovan.org> References: <1438628998-3435-1-git-send-email-gustavo@padovan.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 From: Gustavo Padovan These two display_ops are not used anywhere, remove them. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/exynos/exynos_drm_drv.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h b/drivers/gpu/drm/exynos/exynos_drm_drv.h index 5c55606..47ea400 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.h +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.h @@ -81,11 +81,9 @@ struct exynos_drm_plane { * - this structure is common to analog tv, digital tv and lcd panel. * * @create_connector: initialize and register a new connector - * @remove: cleans up the display for removal * @mode_fixup: fix mode data comparing to hw specific display mode. * @mode_set: convert drm_display_mode to hw specific display mode and * would be called by encoder->mode_set(). - * @check_mode: check if mode is valid or not. * @enable: display device on. * @disable: display device off. * @commit: apply changes to hw @@ -94,15 +92,12 @@ struct exynos_drm_display; struct exynos_drm_display_ops { int (*create_connector)(struct exynos_drm_display *display, struct drm_encoder *encoder); - void (*remove)(struct exynos_drm_display *display); void (*mode_fixup)(struct exynos_drm_display *display, struct drm_connector *connector, const struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode); void (*mode_set)(struct exynos_drm_display *display, struct drm_display_mode *mode); - int (*check_mode)(struct exynos_drm_display *display, - struct drm_display_mode *mode); void (*enable)(struct exynos_drm_display *display); void (*disable)(struct exynos_drm_display *display); void (*commit)(struct exynos_drm_display *display);