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 5358954DAFD 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=1788955837; cv=none; b=S089brl3mzB5tjWpdwIyyTMxgMYCqCPUZFVjLJ0bppvwECMMoBjbx8FLWsIRDcaRSwkM5cUyUsaZm/dfjfnA/fOYDMjlXSup/Khw/nJSD74wSvcHDFGA7lrmbSL5H2kSFZ6mTIz2D1CkBOj2g566CN9mP9O3v71gQO47+2I60FM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788955837; 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=RioE+IM+1hhOrM3RIBks0hCfq0gys/O6oDrLgTSFayWXHK3xICChPm2osqs1ov17B8OOnPzTHy/RF6vPCCgODnnzSHeZ9EAX4ZvFFGRh881o1rakgxyj+DerdX4+pNJtNgmYnCz2EFJUELxfv/qyz9xar0Ux2qywmsIRKVVUoWE= 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-VX1KzBZsMHmIr7Xd5FTJHg-1; Wed, 09 Sep 2026 08:10:34 -0400 X-MC-Unique: VX1KzBZsMHmIr7Xd5FTJHg-1 X-Mimecast-MFC-AGG-ID: VX1KzBZsMHmIr7Xd5FTJHg_1788955834 Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-91051512080so57357886d6.3 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=JO6PUSFa+Bp/+/r0kqicd9TEgqm7LZfancumMIwRmEFmpvF/m9kAeg1M+Eh7irthWI +wk4z7t17xEo4xB6TtE817VCNxfky0fWneUEIFPQx2Jw1QgA5QOUpF14dNAQwcjJdCLr tMfW7UNvHnL0St0aQTDuM49FDCEuzlVyI1vpzmmZcbalJfCN8xGaVmuWabzmm5A5JtzD scQwKTzXrbrLitPwGpWkU7T4yMn8tInoWbtmNmvInNkdXiK2QPJQIXqFu8ahy68W7iPV 3xcg8enYX6XtREwLLoSGQdRlplEMPRMeqjyeci3wIIcDL5RojBtt1xG3CkylpLRJdfwv ppDA== X-Forwarded-Encrypted: i=1; AKwUvBwp3Hvb5PmreKNzSRqdwiawsN396lSx9ihkFR3L5xI+kA969111c58dB1+FFSx1LE82P52YeIK/AhLb1A2HlYMF3g==@vger.kernel.org X-Gm-Message-State: AFuF++nOJiBx+5iMTAptKMOmEtcE75SXwq3ih8Ye5mJrAfcLtoOJZYz9 uP2FK+urso0G5OyMWJ2wp0A1xZZUlEtA9y5icQpmsBNBqMmb9JGNBB25Gt3ug73wn1afOviqjCT 51mjlXIY6zk9OcFYMNsRGHp/klyDphF6CcqAexz3amD1U4NuEphwr+czLKpdY2uqaRhxxV/ZW X-Gm-Gg: AYBFou0NEk0P1MF3SBDaU0Ddiqal6YxXKLCDCcKLco7HwSmk/p6GRYnxKmi8xEc9TCb QJvBcrL3Ixm1TAm4dnMgG/HO7qb9Ah8hV94OTFJLbTZKcqYAOUtidyBkq/0Ly2c7Rg3SYSV7T+V dQzMx1HttFyBh/UviIGcvpXZzyyZBHoXadHkP3BrjVfMDrp4BrEG/J8rxftuHp/l9ouDCrWllaq y3GfvjEJbf7w95/94/2LYrtyd5S5YfEMKazf+1zKWkxQtZtJTjsKithvqVAKnWXj8MZUDFFq0ht sgCeNi8r8gQpBdKxsFj4bJoK3iTsEATVr6TOPaeTAKSDRkFXvUp10ZDRPUhkrAcWtdDhfkM4kpW IoDhYeyMxUxYHslzfJF/kIkAT+k6Xugx7EFo= X-Received: by 2002:a05:6214:6004:b0:90c:e57f:e32f with SMTP id 6a1803df08f44-9103efa2278mr404159546d6.26.1788955833552; 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-renesas-soc@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