Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp847659rwe; Wed, 31 Aug 2022 12:07:19 -0700 (PDT) X-Google-Smtp-Source: AA6agR7UyECcxfaDa3WY/68C+H7lJ2AFnxfcxStUf3CyGaygyWwN9+UIv6GfB+r8SUCv16VXmKue X-Received: by 2002:a17:903:24f:b0:172:7d68:cf1 with SMTP id j15-20020a170903024f00b001727d680cf1mr26733148plh.55.1661972839538; Wed, 31 Aug 2022 12:07:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661972839; cv=none; d=google.com; s=arc-20160816; b=1EyPlFIlohsRSXsaOKCcClngVdcZS/o0Ig15hYmvLU9Pc+25UP70KI1QPj/YLFCV3i piT80KFXSzmX3yaLcPzheNdlJA6uznX2d/7UWvDCxbWAX28Hf5UpMSV/GhYe6SqM1Cxj QVygLXPzVfpb0kHZsc9RXmvtQlAhpZ1uJUIOxy/pbvMVfu02zDJt6C6Hdlv3XiFAA6Av 4Jhqlw7bLS0PL1iwB9KRg5EOd0nryVNlb15kmmI9GIGaE1YXuP8AMics5NWUOVHjBbq4 cy2EIC2Ii+IaEgeyjgvh4G+dia12NNB0iIo7g/BHMo4GsFH0K1fFtMWYiKAv40V0/5ku eapQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=8F+MKnc7NEx1tCUG6AjVWftljzM2XX58i00lGsYN45Y=; b=BK7vgC8BFPzdyqsQBpfWpssYGB25LUBZo2WS19udTNdeVYMFlZSjguc7antqQwBC+A lgkUn5jom/x+J6usbNSbrYYvm8FZbpk9Va9H1xZvc+gfsBx6Fbtpo8dw+gzU2z3wMyBi wHILj46Q64yF6l5pJv6MlOlE2Me70ygofW6q+Zt54ONvMJsPf7yZZbZpa0DMrGO5SE1x dIarWk8r31zOyMC/NsRV1F1ck6MEHoddpZb7tfZoK4Yo2VbTWYhgOnSNvV6Kbht2A8xk TXv14GE75nOY85N/pygJBdecKjEBOvNcTZk3ynoPT4m677CUQ0zd2xTcF7+5iNYxf+t0 nXxg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u15-20020a63790f000000b0042b4089cfecsi5603627pgc.651.2022.08.31.12.07.09; Wed, 31 Aug 2022 12:07:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233109AbiHaSwM (ORCPT + 99 others); Wed, 31 Aug 2022 14:52:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230002AbiHaSwL (ORCPT ); Wed, 31 Aug 2022 14:52:11 -0400 Received: from mail-yw1-f176.google.com (mail-yw1-f176.google.com [209.85.128.176]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A9EEC0E5D; Wed, 31 Aug 2022 11:52:10 -0700 (PDT) Received: by mail-yw1-f176.google.com with SMTP id 00721157ae682-33da3a391d8so316186017b3.2; Wed, 31 Aug 2022 11:52:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=8F+MKnc7NEx1tCUG6AjVWftljzM2XX58i00lGsYN45Y=; b=CctjZ1bOnvRwvjh4SiFreXMlclQK4XpuuuhtailPid4NNwoh6NHro4fEUpwFK6BDYC OMgnX+x+br+PuXNfV56b0Pm3G3wsz291lhBnD5vwWHdyqtynD6D1X6nSgI6yDZzWDCy9 lQB/3qpcMvmh+1WRtD2RlQEj5uVWY8t52q40srLSZyqIM0ZNwtXsX2qTrE9Ey8SpmoCk PJ6itYrsoMZ9ja5JymEaNrhWldjwqRcXamczxp7IDCkucBVACD/Mhz/dBFRStwX0eQEj WPIXhPJ9RM2wXfp8lP3kfCRBV9ZN1TA/y0HyU1hvShGvEOy3vE8M8dX/qroY/fftVlY/ +imw== X-Gm-Message-State: ACgBeo0CbISCRuR+3HDO1V/gKRiGfAArJ++ySEIINj8e20cKhaeX4EiU 1QHjO8fTlIix7x2uyLD11i+etIREG+L2w9Ep5PJQ4BG9 X-Received: by 2002:a0d:e701:0:b0:336:90d7:c67a with SMTP id q1-20020a0de701000000b0033690d7c67amr18993617ywe.7.1661971929512; Wed, 31 Aug 2022 11:52:09 -0700 (PDT) MIME-Version: 1.0 References: <20220804135938.7f69f5d9@endymion.delvare> In-Reply-To: <20220804135938.7f69f5d9@endymion.delvare> From: "Rafael J. Wysocki" Date: Wed, 31 Aug 2022 20:51:58 +0200 Message-ID: Subject: Re: [PATCH] thermal/drivers/thermal_mmio: Drop of_match_ptr() To: Jean Delvare Cc: LKML , Linux PM , Talel Shenhar , "Rafael J. Wysocki" , Daniel Lezcano Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 4, 2022 at 1:59 PM Jean Delvare wrote: > > From: Jean Delvare > Subject: thermal/drivers/thermal_mmio: Drop of_match_ptr() > > Now that the driver depends on OF, we know what of_match_ptr() will > always resolve to, so we might as well save cpp some work. > > Signed-off-by: Jean Delvare > Cc: Talel Shenhar > Cc: "Rafael J. Wysocki" > Cc: Daniel Lezcano > --- > This could have been folded into my previous patch, sorry for missing > it. > > drivers/thermal/thermal_mmio.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- linux-5.18.orig/drivers/thermal/thermal_mmio.c 2022-05-22 21:52:31.000000000 +0200 > +++ linux-5.18/drivers/thermal/thermal_mmio.c 2022-08-04 13:50:46.426178245 +0200 > @@ -107,7 +107,7 @@ static struct platform_driver thermal_mm > .probe = thermal_mmio_probe, > .driver = { > .name = "thermal-mmio", > - .of_match_table = of_match_ptr(thermal_mmio_id_table), > + .of_match_table = thermal_mmio_id_table, > }, > }; > > > > -- Applied as 6.1 material, thanks!