From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 4C3B51ED48 for ; Thu, 3 Aug 2023 14:58:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EFD23C433C8; Thu, 3 Aug 2023 14:58:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691074714; bh=yMg1YEwuJlIFczOQZY8fQXTUaLaqCwPe1K5AJfailb0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dnZo4TfWlyzyTmeTVwJWce2tqZsbJPYrVVSOM8snyxCcEa18Q473++Mm5TzoZbXF4 XG/fbkrFrX8fv2hmeJHqpy34ohk+n3uYw4VyKDaeQBvKAblqmLjRXZOr+s5scO1P3S ISgoZraioxE44UFUuwofEcSSikNuLQl4qrcUE5ALRpzMgRVvoYVKXBBKu0QWubvLXt +nivNO666XHDvB7isEqr2AOhNL3doay5dUfd9BsKgbeuSd3Yr2LPd49UxnVCd5HG4b ingQ56KYEVvDxjWb8/cBWUsziSCYyn3eCzRX5ThpJinsY6AVmqyIzTpdAkt/Z5JQKA dqb99rMqyWC/A== Date: Thu, 3 Aug 2023 16:58:28 +0200 From: Simon Horman To: Neil Armstrong Cc: Luiz Augusto von Dentz , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Marcel Holtmann , Johan Hedberg , Andy Gross , Bjorn Andersson , Konrad Dybcio , Balakrishna Godavarthi , Rocky Liao , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH v3 2/3] bluetooth: qca: use switch case for soc type behavior Message-ID: References: <20230803-topic-sm8550-upstream-bt-v3-0-6874a1507288@linaro.org> <20230803-topic-sm8550-upstream-bt-v3-2-6874a1507288@linaro.org> Precedence: bulk X-Mailing-List: netdev@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: <20230803-topic-sm8550-upstream-bt-v3-2-6874a1507288@linaro.org> On Thu, Aug 03, 2023 at 10:45:27AM +0200, Neil Armstrong wrote: > Use switch/case to handle soc type specific behaviour, > the permit dropping the qca_is_xxx() inline functions > and maked the code clearer and easier to update for new nit: maked -> make > SoCs. > > Suggested-by: Konrad Dybcio > Suggested-by: Luiz Augusto von Dentz > Signed-off-by: Neil Armstrong ...