Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4106493ybg; Mon, 21 Oct 2019 04:00:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqyGENjw8ydLZjAngG7SZGwEY6ceB1iZe3+3h97gxsu4ehx4Mp017XkP5FCtAEJNvUChvWqV X-Received: by 2002:a50:fc86:: with SMTP id f6mr24330461edq.233.1571655614234; Mon, 21 Oct 2019 04:00:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571655614; cv=none; d=google.com; s=arc-20160816; b=cQnZSygI0XwL35aCO6qbh1MWSIfuW7mytXSW9Wx8Dz9CkrcXn4vEfKE5IZFZfPkFnk OILUCa+V2fGOyifIJcxvNjStQbiGkaVFCTPEuIn4aPwY3pOUtzGOsUAC26UtIr9xi/Xz rzSMdW2JCbb3OA3D1F7DZ9i9FMoHQqMyfYsZD2zHJzu/LTk9m7vmfEh9UcT0YDfEaTM1 V2X6vDEwFGmgtnTiBp/tsmss91WrhoMvqhVaghcx4nJDEHBRRDeNkQEgmSWX+8rxftb5 dMm+xf06nluWHLJqkNfgHHDAdIatyByBompEhGzQ6uG9omdZ5UOjnShwJATJsH4lWEay aMyA== 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=N1QWSWmQ9Z196IzSFBZAn5l+uyQZbYxA5PcE8j0aOpM=; b=ywsPIGnMb1ut341JrHqyTZq8SC/z0ZOFDUiw9SDOWeLUsRA8+KyMRdybhyRZHU2CAw 404XhPudnHiie57LsrBFbQkZ0xiGaiQiDsJs0Eov4Ro39jtpSiNvJ5n6j3y6m7oROEdS tizw3vZW+PVJ/NGnXrRa4Eza2BN+4BpnsxZMTuF7h2n6t5QZfSZAg4PsFU1Mp9Dc61Sx DMc+kndXKvBZ/yPBA2XpGR7LKeYGfyOaFnDLuU8rCV5RaWLJZnXQwkrQ0q7q+sRnZeFE HbUJFx5U3wzv6hZ6zw+smo3pVkNGNiJ43P/AXMs1BvnABAF6svyoHfF5y0sQYjDvSuYD uIwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iVJ355dx; 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 e56si1294465edb.172.2019.10.21.03.59.50; Mon, 21 Oct 2019 04:00:14 -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=iVJ355dx; 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 S1728401AbfJUK6s (ORCPT + 99 others); Mon, 21 Oct 2019 06:58:48 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:41164 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728313AbfJUK6d (ORCPT ); Mon, 21 Oct 2019 06:58:33 -0400 Received: by mail-wr1-f65.google.com with SMTP id p4so13409450wrm.8 for ; Mon, 21 Oct 2019 03:58:32 -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=N1QWSWmQ9Z196IzSFBZAn5l+uyQZbYxA5PcE8j0aOpM=; b=iVJ355dx/uAdqxNtz28IemMGbVKdAZvYRt4leY2T4v9S/sVKuTNbBWEXGYb7MZQCCX bEMWit0rElAZ3UzowGiYzAR4vfkkAmBx3y8kVbey82j9a06PIQ6GTbSiUzbDTjIsE+Bv 2ZMWAnxzQUrV7IilCxBkdlNYVRT+P5Ws2aMb8Zu935IT1F4HYuuIDnRI4O7xVZ+L2d57 ff6UR1t6nLVlBSenVOD5qWq2MDiCJuJvhJEZSVaCHLRxc7WD/mjIKPB2RloQse8mdFef WDnRAh1VS5BhGhAG1h3QykJIzwhm38VrNRNRsL76fsaSmdR/HU5o619gIDhf5FzS5WaF kkvQ== 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=N1QWSWmQ9Z196IzSFBZAn5l+uyQZbYxA5PcE8j0aOpM=; b=HRngjDSW7y80ut7Arq9/XExDp52GELQgNuKLoli5ugXfpnAO01GSRZFz+xvZItXGuX D9eSbQnf2QBVPNJ9XyPVuxtFuTv5VKdU0E7M2TDAAw9AHO1Fm+MI91uZr47k5aQ22EIX +4Jt5/VnTqYDclDgN/mrGEjQ/kHsULzmBCKVPrwptNGe6YU/Onc5aS+3F60tB4H7zQez UPoNXWBrNnryorS3GY0T0cN/w5JCx/g+0LQBS4j4YRIbUig83cZwA3+dQh0/w75KXb5f dopOzY6BjCjm4rbL0O7S1mqC1o12KyGjtFNrUbJl3AYS0DphtQd11DwPSRGOsI7fW8Xp M99w== X-Gm-Message-State: APjAAAU2THP7Jbr3/2lH1iswY8fJoRstjBdMS6KrJmoO6sMt7WZo3ji5 bEcm5LxJiJjrca5pqfnFLuKflCJBj54= X-Received: by 2002:adf:f343:: with SMTP id e3mr19104359wrp.315.1571655511574; Mon, 21 Oct 2019 03:58:31 -0700 (PDT) Received: from localhost.localdomain ([95.149.164.99]) by smtp.gmail.com with ESMTPSA id q22sm12544289wmj.31.2019.10.21.03.58.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2019 03:58:31 -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 v2 6/9] x86: olpc: Remove invocation of MFD's .enable()/.disable() call-backs Date: Mon, 21 Oct 2019 11:58:19 +0100 Message-Id: <20191021105822.20271-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191021105822.20271-1-lee.jones@linaro.org> References: <20191021105822.20271-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-pm.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/x86/platform/olpc/olpc-xo1-pm.c b/arch/x86/platform/olpc/olpc-xo1-pm.c index e1a32062a375..0fc57b59743c 100644 --- a/arch/x86/platform/olpc/olpc-xo1-pm.c +++ b/arch/x86/platform/olpc/olpc-xo1-pm.c @@ -126,10 +126,6 @@ static int xo1_pm_probe(struct platform_device *pdev) if (!machine_is_olpc()) return -ENODEV; - err = mfd_cell_enable(pdev); - if (err) - return err; - res = platform_get_resource(pdev, IORESOURCE_IO, 0); if (!res) { dev_err(&pdev->dev, "can't fetch device resource info\n"); @@ -152,8 +148,6 @@ static int xo1_pm_probe(struct platform_device *pdev) static int xo1_pm_remove(struct platform_device *pdev) { - mfd_cell_disable(pdev); - if (strcmp(pdev->name, "cs5535-pms") == 0) pms_base = 0; else if (strcmp(pdev->name, "olpc-xo1-pm-acpi") == 0) -- 2.17.1