From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A687D550DBF for ; Wed, 9 Sep 2026 12:10:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788955838; cv=none; b=TnaIKrVpH7uCqxZoCgvhCCZevBnpVtt/0x5Zt5460Dxas0SGc/v5OSmwjcBNU45W/gPVFqPp7afBU9KxVpV6zFJm2uqmWpCUwZfewkbTNhxz6PCZ8KXXdlNSG9FhQPJylXscZmkb0QX/xL4C1agv3jlAuYnB2ztjL7u5amYQ8Pc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788955838; c=relaxed/simple; bh=DvwtVb5IKeMYxO2D23yno0EzlJiATMbD/Z8h9/0BjRQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dVCLR4WJTIN85JxqsZLzKQ0KFloAnQINVy7uswhJFlpMbYUptD73LZv2pXJhSfIGqR2sP4OmJWXamhRdYu5gjbHH8LDHksdKXdZHIsQMBNGVvvmVLp3NokfXugkDgYTVfNHu9xQYJJgvrW0qdMZRnizNr1sD40CoZb9b67LHjb4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=Ip69aeoj; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=Wo6A7hnV; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Ip69aeoj"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="Wo6A7hnV" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788955835; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Vc9MzoiCKhsJwxuQzTyGvb7DKHhftnS4Vlp/tiC9CaA=; b=Ip69aeojROhcM41a3ZrVuBrqEE4BM1eWjeUx6JV9xiuWvm5jsZYxRItVb80kMFHdwOeC7p trD3io7haWfxeMcN3OHVOL82idznKf5mnMATe/B04kUqvZVGV+5RwYXtFeoc4KZ8wNRZoJ MNTNJa2nHsgLBf6NFYGRYMX4i3wXCSE= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-99-sKRigF9aNoOROTayZLp6Aw-1; Wed, 09 Sep 2026 08:10:34 -0400 X-MC-Unique: sKRigF9aNoOROTayZLp6Aw-1 X-Mimecast-MFC-AGG-ID: sKRigF9aNoOROTayZLp6Aw_1788955834 Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-90ce8ad8002so108609306d6.2 for ; Wed, 09 Sep 2026 05:10:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1788955834; x=1789560634; darn=vger.kernel.org; h=user-agent:in-reply-to:content-disposition:content-type :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to:content-type; bh=Vc9MzoiCKhsJwxuQzTyGvb7DKHhftnS4Vlp/tiC9CaA=; b=Wo6A7hnVHKJsbmWS0cqt73IAelPQZTFijwj2GoyomEK6JuMv7dSw9eFp3RoS2GmUzD qPyNwdnkeU43l9+WNNU/cC+mz5N12n3QWf6Xt53LxApHC+SrUyEsutT8uaDHVIkdPqp7 5BjU7dPE+kGO19zQJvelwC1bN403xMiPLS6c0OgFJ3Kerpxb6mdYz+NT4SUQGWFB8E0k fy6AJ9UAW3X1aNx/EWFXhDi5RgdACF/RHAwCH7VuGSmGzpEkHyEUfZrUiebazvidQHBR 4oEHEkRdzr/gupysYOxFRZ6X854aYq02+TBmHm1BliEopSEweKGxfBHV6uT95vV5I0gr dYTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788955834; x=1789560634; h=user-agent:in-reply-to:content-disposition:content-type :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Vc9MzoiCKhsJwxuQzTyGvb7DKHhftnS4Vlp/tiC9CaA=; b=drINL6KD7XxhY4gacCOLzUkxWvExR5bGGwI0xc88Q0L3oYjqqHRr+ZgPd5BfvIwHoe jrr9go31OzYt5+Mkd1zALbiRYvCKK6+QqkCBPTNx2Umm2HrZAwgyeFWl57Dpf0cQjIXq MebZS97Wuz4j/BK/YiOTEE5YCD7uGbGwll7D0I1SWPNcICwJ7/iBVT8TMp4qP1Hvu8db RnPx9+osQRAO2AcfY0x8x/B//Yajq46AbE/PmwoIwl8OjHIPgudbhwUzEb48TmDz5Kev X1NRTWBm8sUI8s56ITXMkNFa/orfEpHHJ4j2EghfQmRVyaVh6ksWnko8lnxdbWtk75ZH oJOA== X-Forwarded-Encrypted: i=1; AKwUvBwEsQNB90qfdG5XcH08qZ5WDJ1cCGsXQfZLU0vy8QPt/CPvsxeC998zy6SGxWowwfIXFYEcGw7WCk4=@vger.kernel.org X-Gm-Message-State: AFuF++nJpPSo++SqgvPma52LbVboEuN+aqYC9IMVsJyh4/sPQrJvA8ZW AF1tUgFkIQDt/beI8KUB1i1BQ30Poypk0VezCOXFVRLDdC7psuupFOe2Cnwo68dw4bw/h89n/gV e6qMWw8jd94o8t8Fx5mh0QQaFbIusRwiftcz8H0uaRaCWBBfMvYXlSSgGWaPZuvnaf8PfuA== X-Gm-Gg: AYBFou1Ou1YaIE6kD9M41tbwhtHFXeuA7CSbb8pbnrjrZtZ7hB3EnGFXjLbB/v+/osr +5+wBzUEjX//bj4nJOw6xvwysO4xzC+A3O6wtMhgZ0aIzHcWaQ7p+YhAMLigdvYQOLCKj1kjzZA j1PEmO0iqidkVqYUWC2F0s6BTaXsWvbmlHK7DW/XUfkdko9nINJdSj4gHsG0MNY0FqLWrHLkfov h/PZcfIqExN3LQYyUzafs+78X912EQQXZAi062I6n7BHG94tCh7cMMxfvLocJADpqJMil4aZrfc Tt2e0AOJgNBfeDrPb12KaHqidcZgE23ByYBUQsl8jduJV/RbQuXyIMx4cTv9gkiTa+Jk5ZNQwkJ cI9+z2FzV4sbMrAPwsah65s5TglyMdwsBnbM= X-Received: by 2002:a05:6214:6004:b0:90c:e57f:e32f with SMTP id 6a1803df08f44-9103efa2278mr404159616d6.26.1788955833568; Wed, 09 Sep 2026 05:10:33 -0700 (PDT) X-Received: by 2002:a05:6214:6004:b0:90c:e57f:e32f with SMTP id 6a1803df08f44-9103efa2278mr404158996d6.26.1788955833104; Wed, 09 Sep 2026 05:10:33 -0700 (PDT) Received: from redhat.com (c-73-183-53-213.hsd1.pa.comcast.net. [73.183.53.213]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-91040663a87sm145367976d6.19.2026.09.09.05.10.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2026 05:10:31 -0700 (PDT) Date: Wed, 9 Sep 2026 08:10:29 -0400 From: Brian Masney To: Abel Vesa Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Danilo Krummrich , Bjorn Andersson , Stephen Boyd , Jerome Brunet , Geert Uytterhoeven , driver-core@lists.linux.dev, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH 3/4] clk: qcom: convert drivers over to use subsys_platform_driver() Message-ID: References: <20260908-subsys_initcall-v1-0-cbccf4cd4288@redhat.com> <20260908-subsys_initcall-v1-3-cbccf4cd4288@redhat.com> Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.4.0 (2026-06-19) On Wed, Sep 09, 2026 at 02:45:21PM +0300, Abel Vesa wrote: > On 26-09-08 13:47:20, Brian Masney wrote: > > Reduce boilerplate code in the drivers and convert them over to use > > subsys_platform_driver(). > > > > Signed-off-by: Brian Masney > > Assisted-by: Claude:claude-opus-4-8 > > Reviewed-by: Abel Vesa Thanks! I forgot to mention in my commit description that I didn't convert three Qualcomm clk drivers since they register two different drivers in the same file: drivers/clk/qcom/lpassaudiocc-sc7280.c:subsys_initcall(lpass_audio_cc_sc7280_init); drivers/clk/qcom/lpasscorecc-sc7180.c:subsys_initcall(lpass_sc7180_init); drivers/clk/qcom/lpasscorecc-sc7280.c:subsys_initcall(lpass_core_cc_sc7280_init); Now whether or not they should be registered this early in the boot is a separate discussion. Brian