From patchwork Fri Nov 1 07:45:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 178254 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp116900ill; Fri, 1 Nov 2019 00:45:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqzzN1CMUz8TKoukiKONrhxmBHNELpoLd5VHVgE2Ud98bsfJWcOGhaOb04z+cp8xTAAOR04+ X-Received: by 2002:a17:907:213c:: with SMTP id qo28mr8631412ejb.43.1572594344070; Fri, 01 Nov 2019 00:45:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572594344; cv=none; d=google.com; s=arc-20160816; b=M8WEieENRpJkCLJuRGpF8ln8nGHfxdMXyRcQEckVMendVKR5ljYxxIIY8tLA0SaoJY 6wZBB9q0h7Q51+QWIegJxKywIIhXf66EYFpg11xs4Hb+1DRNB/cbYWLYwALOiCRWJ6OA ox/WCuhitB8wsrL3Jm7PGcj+Xyanh1VgvgbVlmrH717rFukuTmMvxaS6BZN2bMoobM3C OSFVv2gJD/AwsklpkkonX2zBtTMs3GopIrOBFK17sqOnPvgowzHU8O5l5mIM9YCXAO97 wM87NKG+ZZlA4ci9iVLu6jlfmld/3S6z2ln4G+Nvnu8YD1LJYrue3DlPNeBE0PhYy01t V1WQ== 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=BF4ZzyUEGnGEiyqA1v3l5l4pjBuYXhzsNNXXOYP8w+o=; b=YBg1CnaEtdhs8B7mgox7CM8af91eZjU6C8TEQ6/yNuPQPvXn9VpffiQbfGxcjwKlfp DWYy6fzOv/N3StcyUCsMDiQcqNoSVFBUAKwvdXCY6I2JbYROvoOIwZ/aWRMIlabfmNjm A3jbmqwuIc6+fSiD+n1mXUCz7p6PqnmdiylgUIqFYt6YFLoTOBECg6Oc/c+AUM7QQZX4 NFLtJgUUBQZN/9jzqUvgBZqItNmyx28pfjtKfCFCNS8WwNgF4+MFLgbbBWBVt4Bq8u7L ZpJmqg8f7aBiAzaj2AJl9I2hLFOG14Z9ng10Kh0f3YtxXHqOeUMqJOjIePzsXIpWXNrG el4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qbHXVYhy; 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 bi3si6878051edb.331.2019.11.01.00.45.43; Fri, 01 Nov 2019 00:45:44 -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=qbHXVYhy; 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 S1730161AbfKAHpi (ORCPT + 26 others); Fri, 1 Nov 2019 03:45:38 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:35652 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730130AbfKAHpd (ORCPT ); Fri, 1 Nov 2019 03:45:33 -0400 Received: by mail-wr1-f68.google.com with SMTP id l10so8821307wrb.2 for ; Fri, 01 Nov 2019 00:45:31 -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=BF4ZzyUEGnGEiyqA1v3l5l4pjBuYXhzsNNXXOYP8w+o=; b=qbHXVYhy5UqqBLj8qTiPohKa/wHistzi1bos518nV9bTNsteO8GyV6wzqHtSV3HuDM L2SOVq0KsobRYwXQzm6Dhi9BtAveaD3ISRF3m6M/ZDS1J3WuAV64hWlBbBsnoNjOkCUK Nbr2QDhq21lEZDWQWAPGh8ymfd/spSRc11zEeIX+Rd5tJknLhiLYpw156XiJc7n9nob1 UX1ZwMymHYKPyB61tOF9yGHL4CSezawT6ynfWSJpnXp2HLYjFprBeL49Q/4snQusirgI akUFjZspQxQTHfoDAbT/W+7pHIOCA9CqSmwWBDFOAxYLMeuANTYzqIQkUvKDJjjyGIvP e+EA== 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=BF4ZzyUEGnGEiyqA1v3l5l4pjBuYXhzsNNXXOYP8w+o=; b=L/mOkL9zrcBARZPaETyunc9D8sAPCwsl1Wg6bEzAh1v+Qy9AdGqzZ+ND/kpzykw7Yl W98qWv2rjlH6YbDTpgHjOr+J+y4z9/LZ3UThqow4Y0RCBTr4+3KS/9xoswL2M7BQaur6 6jU7qStCi6bLjH2RzKunYxrqn8l5scWuPu/AdMi+pv2El/UyCfrVycsIwT1M3uBlppOf H+tJng6nRXtOOVlyzAb/IZCIennE2kHH8b/iytcaay8IpWUJA9OdEUOxn5Z1bdDUg1ZU Zck4n0GXhPHgq45Ez4Un6U0bMaw+JWvzxjnR1Dq7Y4aM/jR95MUDKnNBAVSbf8aajtjC sCFQ== X-Gm-Message-State: APjAAAUYemy5GB1rxqDf+SXcD7JecErHhidZUS87Fs9wxNNonCpZxGIO bZwiEW8HGwjOCHtPiZRPOZMwxg== X-Received: by 2002:a05:6000:1601:: with SMTP id u1mr9321793wrb.214.1572594330472; Fri, 01 Nov 2019 00:45:30 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.64]) by smtp.gmail.com with ESMTPSA id b1sm576215wrw.77.2019.11.01.00.45.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Nov 2019 00:45:29 -0700 (PDT) From: Lee Jones To: daniel.thompson@linaro.org, broonie@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, arnd@arndb.de, linus.walleij@linaro.org, baohua@kernel.org, stephan@gerhold.net, Lee Jones Subject: [PATCH v4 08/10] x86: olpc-xo1-sci: Remove invocation of MFD's .enable()/.disable() call-backs Date: Fri, 1 Nov 2019 07:45:16 +0000 Message-Id: <20191101074518.26228-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191101074518.26228-1-lee.jones@linaro.org> References: <20191101074518.26228-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 Reviewed-by: Daniel Thompson --- arch/x86/platform/olpc/olpc-xo1-sci.c | 6 ------ 1 file changed, 6 deletions(-) -- 2.17.1 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();