Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3951904ybg; Fri, 25 Oct 2019 11:11:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqyb7gP7mtPQKHOuu3ZzP6f89UaoXiiCYZ8CA2hiD3tCUBphfyNe8ahCqPH8QSxg2Puu2QdH X-Received: by 2002:a50:eb95:: with SMTP id y21mr5478366edr.155.1572027092239; Fri, 25 Oct 2019 11:11:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572027092; cv=none; d=google.com; s=arc-20160816; b=aBd74PJEObxdkoFZ7iqM/9o+0xCu1AQdghmwf8cbx+Yxj2GK5amK3Sq24ubtJad05o BPJU32f86N6UlNshkMUEnypp5n7QQo8GVdZMSz+tJ8LcNjbYnttA/GuPQA3ZRCvvu4Ux R+NuWzKocp2YlPOewkl8xovlb9CZk2YoLQkNsuMePeeWESABkC3cqWDJgMJqQuImWiXl ebdNxnU58lOuTW7IHbuWlK86CIS5vWXH1KeHVR0/glovLb/GiPwt16sUNzgEaaWcIkGA KewI0nYeXgT33nLJmp+ALKkV6neidFbFGj/N/CiHhpjudkxCjkEYwjZzwRONgYnv+lDJ xxwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=Y4M/TuR9ElWDWsgab2CwXLXvo0XVpR3zUX6nx046dNY=; b=wXbs1O6hqUfhWGppi83gAgc5zwdGxqcqGyMN7Lnw5jLHqvztSdFj7Zj+wK0V56dSyY 0uypGb5p3y0BbtjgLGm9RLAPWXNYDsDlIYz/dV9Cyj9JpF4mEb+d+zZb7UahvdR7jYUn gQQZRUrs3b1tcplx9HqX2uYW11sYw0+wSjht6OLc6ov/kCglnB33pmjxw1vKEc8cyTk9 R7EvWbWssZts/9Wkqcl9kpSB9JzoFrSnc0DaGBAKIUMR+b07/VRvIYWuQwN3/2sIDlze B+xefacsWv3fKzhR7Ga1RkAWM6gntLKRVpuBmPFhi2eDh05r74tliD9TwyNZdLVqN9Nt F3Bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iFgTncfo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j1si1789574ejv.216.2019.10.25.11.11.07; Fri, 25 Oct 2019 11:11:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iFgTncfo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2503571AbfJXQiu (ORCPT + 99 others); Thu, 24 Oct 2019 12:38:50 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:33597 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2503537AbfJXQip (ORCPT ); Thu, 24 Oct 2019 12:38:45 -0400 Received: by mail-wm1-f66.google.com with SMTP id 6so2385268wmf.0 for ; Thu, 24 Oct 2019 09:38:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Y4M/TuR9ElWDWsgab2CwXLXvo0XVpR3zUX6nx046dNY=; b=iFgTncfo27OyY3xOrjVf8k+LrQj/b3xCRYWuPYLMMo5ZBf6rQyO+w4OQN+tMw+qOb8 PU/JI8owfgoVR8WZdCHfhQykvjBV7dSBMopw/8M8qWvolQzu0JP/iCuPwpVmK4ZXMMNx 6rpHxMtmQGBEKg6By4WPJsLUgEwX95klixjUL2NWyK3JS17vlPYsCntul6yu4PvaKzVK 1Ea79lATIqchM99hH4HVvRPqSwRUVxm9CkiO+n2uYIGICjFuOxhL1T0nQ5WKqpgSlSDN 2i830iOga6S8ecjkM/isy9KN4zRSak1bEDGy/KVXxdytiyMJxx4SCpfrQyeXNDBDXg4j 5I8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Y4M/TuR9ElWDWsgab2CwXLXvo0XVpR3zUX6nx046dNY=; b=imVtsc60cdZkdt9HyTSqxOXrKw6NfpwbCjuhbWxpk/81aKqk85P8nHy28ts85/ctFV 1ZRFlCX/4WLLx7sYslZWpTrC+/k7yoce5aV4NaoboZwSWplnDFLucjnltdGgXTRitnnS n4cEsUkOeg3uqBFKPrK3eDZ0fune7aticNpp32D1memcIQb6ODQN0img6PqISDD23cIl yKWqPw8a1a+4WnuvzuHRL/pFvmDfpQzEhdYzW6SVYl3yYmDM+aTekoRrL3n3JfxDdmYE Tmb3gzcWXAtvK8H8QPtPF59JGvyeqFS3VdNb8AKBrPrnkIhDPuoUOJvwVGEGnEKtfbs/ KkPw== X-Gm-Message-State: APjAAAUUvZDBlOtVjzmcloWKhIxo71S9XPkfQPzjafGEArDmGMwiIZ/0 YbZxyGdfaqnDDVhkzOjX5bg3qw== X-Received: by 2002:a7b:cc6a:: with SMTP id n10mr5998222wmj.94.1571935123733; Thu, 24 Oct 2019 09:38:43 -0700 (PDT) Received: from localhost.localdomain ([95.149.164.99]) by smtp.gmail.com with ESMTPSA id 6sm3446175wmd.36.2019.10.24.09.38.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2019 09:38:43 -0700 (PDT) From: Lee Jones To: daniel.thompson@linaro.org, arnd@arndb.de, broonie@kernel.org, linus.walleij@linaro.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, baohua@kernel.org, stephan@gerhold.net, Lee Jones Subject: [PATCH v3 07/10] x86: olpc-xo1-sci: Remove invocation of MFD's .enable()/.disable() call-backs Date: Thu, 24 Oct 2019 17:38:29 +0100 Message-Id: <20191024163832.31326-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191024163832.31326-1-lee.jones@linaro.org> References: <20191024163832.31326-1-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org IO regions are now requested and released by this device's parent. Signed-off-by: Lee Jones --- arch/x86/platform/olpc/olpc-xo1-sci.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/x86/platform/olpc/olpc-xo1-sci.c b/arch/x86/platform/olpc/olpc-xo1-sci.c index 99a28ce2244c..933dd4fe3a97 100644 --- a/arch/x86/platform/olpc/olpc-xo1-sci.c +++ b/arch/x86/platform/olpc/olpc-xo1-sci.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #include #include @@ -537,10 +536,6 @@ static int xo1_sci_probe(struct platform_device *pdev) if (!machine_is_olpc()) return -ENODEV; - r = mfd_cell_enable(pdev); - if (r) - return r; - res = platform_get_resource(pdev, IORESOURCE_IO, 0); if (!res) { dev_err(&pdev->dev, "can't fetch device resource info\n"); @@ -605,7 +600,6 @@ static int xo1_sci_probe(struct platform_device *pdev) static int xo1_sci_remove(struct platform_device *pdev) { - mfd_cell_disable(pdev); free_irq(sci_irq, pdev); cancel_work_sync(&sci_work); free_ec_sci(); -- 2.17.1