From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB8F2C432BE for ; Mon, 2 Aug 2021 09:11:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BB04460F4B for ; Mon, 2 Aug 2021 09:11:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232836AbhHBJLY (ORCPT ); Mon, 2 Aug 2021 05:11:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232428AbhHBJLX (ORCPT ); Mon, 2 Aug 2021 05:11:23 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A86B9C06175F for ; Mon, 2 Aug 2021 02:11:13 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id b6so9679278lff.10 for ; Mon, 02 Aug 2021 02:11:13 -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:mime-version :content-transfer-encoding; bh=LHYGauWDsrZ2HlePLC28Pt6z1sM76N+EjvyU9BFXlYo=; b=nzEe/dplqrTZYCAJZeyHaVfCuBCcbIBbI4yqT40m89VrvGBXIz3Bj+VhpPlji1e08I 6XscaZWQbt2yli+zx219tZT4u3XvJ+rGz5KXP4h3MD2Rq2wIEBu4IgsMbHYuRVSLF3In GVMQ57R9NyHk7bAF8ZQG/wBiv/Q8/iMIvgGDqnbLZvXHnVrBWC/7laJ2fFt1zbkg56tG 6W13cxxSOLfxUBjZgx/x+Z6rB7oYrmzID/hFJTIAnaEwsIPRLSiSjG9+A6Q45oZNvYUy ze8JKAPyvRewz2u5iTi5h3UmKpE3GCKUjpDf84mc/Bo1WFvMSXUgTj6KPFDT3KY81Opl 4eSA== 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:mime-version :content-transfer-encoding; bh=LHYGauWDsrZ2HlePLC28Pt6z1sM76N+EjvyU9BFXlYo=; b=d+sPqbOjeHwmAaBFM2gnQzl8c9wekFnrBaKBXCe4NU5B/22UjP2f351lBd72TpDnoj qmtez2c0vSGUcV+LKLotR2HVWamKu9wp5lJTKj3qEpFzyWy4tkssMHZADLJ83uQnR78k 8RrmWyP/cSmyzxKiVCO0EPEnnCGZGxlrB7JgCky/3JlUPoVhRZUApwr7me5sUH5It1wx Y/XduK6omPOVnM4O8grRYh8pyIpQY87xshZCNhHitvW+TaX4FJNS8Hb3LKq+cUNqFDaY MZ3YlFdU/JAoN46U2uXC6nOwFK4Rd0hLY5c2wLAp0rSh+1QgXVID0CoT2p7tavtFbmuZ 4dSw== X-Gm-Message-State: AOAM530OTPCP3BKWTEaI/QRlEbiCvJas8fp3lYPAZq+UCYexv5c28Oa2 TOkgHYyd1uPi1PCiTGCFPF11Yg== X-Google-Smtp-Source: ABdhPJxJV0BW4030/O3dJxjHERyR35BHyeeMRS3ltMHAXXpOVt4oTEYJFcZPWrq67vEwIQ2pFOYlJw== X-Received: by 2002:ac2:5461:: with SMTP id e1mr8316977lfn.61.1627895472051; Mon, 02 Aug 2021 02:11:12 -0700 (PDT) Received: from localhost.localdomain (c-fdcc225c.014-348-6c756e10.bbcust.telenor.se. [92.34.204.253]) by smtp.gmail.com with ESMTPSA id f1sm796340ljj.39.2021.08.02.02.11.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Aug 2021 02:11:11 -0700 (PDT) From: Linus Walleij To: Lee Jones , linux-kernel@vger.kernel.org Cc: Linus Walleij , "Rafael J . Wysocki" , Daniel Lezcano , linux-pm@vger.kernel.org Subject: [PATCH] mfd/cpuidle: ux500: Rename driver symbol Date: Mon, 2 Aug 2021 11:08:59 +0200 Message-Id: <20210802090859.3237509-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The PRCMU driver defines this as a DT node but there are no bindings for it and it needs no data from the device tree. Just spawn the device directly in the same way as the watchdog. Name it "db8500-cpuidle" since there are no ambitions to support any more SoCs than this one. This rids this annoying boot message: [ 0.032610] cpuidle-dbx500: Failed to locate of_node [id: 0] However I think the device still spawns and work just fine, despite not finding a device tree node. Cc: Rafael J. Wysocki Cc: Daniel Lezcano Cc: linux-pm@vger.kernel.org Signed-off-by: Linus Walleij --- Rafael/Daniel: it would be perfect if one of you could ACK this so that Lee can just merge this into the MFD tree as a non-urgent fix. --- drivers/cpuidle/cpuidle-ux500.c | 2 +- drivers/mfd/db8500-prcmu.c | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/cpuidle/cpuidle-ux500.c b/drivers/cpuidle/cpuidle-ux500.c index a2d34be17a09..f7d778580e9b 100644 --- a/drivers/cpuidle/cpuidle-ux500.c +++ b/drivers/cpuidle/cpuidle-ux500.c @@ -117,7 +117,7 @@ static int dbx500_cpuidle_probe(struct platform_device *pdev) static struct platform_driver dbx500_cpuidle_plat_driver = { .driver = { - .name = "cpuidle-dbx500", + .name = "db8500-cpuidle", }, .probe = dbx500_cpuidle_probe, }; diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c index 75049cf38832..64dd4f9a1e49 100644 --- a/drivers/mfd/db8500-prcmu.c +++ b/drivers/mfd/db8500-prcmu.c @@ -2951,14 +2951,16 @@ static const struct mfd_cell common_prcmu_devs[] = { .pdata_size = sizeof(db8500_wdt_pdata), .id = -1, }, + { + .name = "db8500-cpuidle", + .id = -1, + }, }; static const struct mfd_cell db8500_prcmu_devs[] = { MFD_CELL_OF("db8500-prcmu-regulators", NULL, &db8500_regulators, sizeof(db8500_regulators), 0, "stericsson,db8500-prcmu-regulator"), - MFD_CELL_OF("cpuidle-dbx500", - NULL, NULL, 0, 0, "stericsson,cpuidle-dbx500"), MFD_CELL_OF("db8500-thermal", NULL, NULL, 0, 0, "stericsson,db8500-thermal"), }; -- 2.31.1