From patchwork Thu Aug 13 20:06:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 7010671 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 D8589C05AC for ; Thu, 13 Aug 2015 20:06:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9831B2066F for ; Thu, 13 Aug 2015 20:06:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 982BA2060E for ; Thu, 13 Aug 2015 20:06:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753456AbbHMUGr (ORCPT ); Thu, 13 Aug 2015 16:06:47 -0400 Received: from mail-qg0-f44.google.com ([209.85.192.44]:35463 "EHLO mail-qg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752847AbbHMUGq (ORCPT ); Thu, 13 Aug 2015 16:06:46 -0400 Received: by qgj62 with SMTP id 62so38975496qgj.2 for ; Thu, 13 Aug 2015 13:06:45 -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; bh=f65A5afrlpmH+EREP5Yheo67xSqY/qLHjHuc9qO6SE8=; b=II/wyUy35aRrLgmxUUP0frySJ8nOR/bpZXA2mxsflg6GPvADvy/PVuqZ1CcuJT1t15 pCrYiYJm2Ge5cG+UsCrmc58/r0FM3ukhn5bjCDGwc7OKzhQXeseJN6flz5lD6yQ9KN8J dXJhXlbwxOgLWVLDVUO5+FQ5rVRez3gt/6xWd+z+xSqi/uRorKHLUYVWBL/JwnoY57EZ +pK+QQxRX01rfJwZp+3y2pY9gsusGZB63jsSVCzaEHhCCbzM3AuRIx56WknZN+On8DSv 6/Ok7RF1n2hTj3PGDY9lKV2HEQzanTtK8LMhfDc+W17GiSXl7aaUZo7sBrO9VCWvJNXu ZGEA== X-Received: by 10.140.80.209 with SMTP id c75mr71178563qgd.20.1439496405750; Thu, 13 Aug 2015 13:06:45 -0700 (PDT) Received: from jade.localdomain ([187.35.192.214]) by smtp.gmail.com with ESMTPSA id e19sm1706244qhc.18.2015.08.13.13.06.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Aug 2015 13:06:44 -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, daniel@ffwll.ch, Gustavo Padovan Subject: [PATCH 1/2] drm/exynos: remove legacy ->suspend()/resume() Date: Thu, 13 Aug 2015 17:06:38 -0300 Message-Id: <1439496399-25791-1-git-send-email-gustavo@padovan.org> X-Mailer: git-send-email 2.1.0 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=-6.9 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 legacy helpers should only be used by shadow-attaching drivers. KMS drivers has its own way to handle suspend/resume and don't need to use these two helpers. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/exynos/exynos_drm_drv.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c index f1d6966..9bcf679 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.c +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c @@ -280,8 +280,6 @@ static struct drm_driver exynos_drm_driver = { .driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME, .load = exynos_drm_load, .unload = exynos_drm_unload, - .suspend = exynos_drm_suspend, - .resume = exynos_drm_resume, .open = exynos_drm_open, .preclose = exynos_drm_preclose, .lastclose = exynos_drm_lastclose,