[PATCH 2/5] ASoC: Drop unnecessary of_match_device() calls
Charles Keepax
ckeepax at opensource.cirrus.com
Wed Oct 4 19:33:32 AEDT 2023
On Tue, Oct 03, 2023 at 11:43:08AM -0500, Rob Herring wrote:
> If probe is reached, we've already matched the device and in the case of
> DT matching, the struct device_node pointer will be set. Therefore, there
> is no need to call of_match_device() in probe.
>
> Signed-off-by: Rob Herring <robh at kernel.org>
> ---
For the cirrus bits:
Acked-by: Charles Keepax <ckeepax at opensource.cirrus.com>
Thanks,
Charles
More information about the Linuxppc-dev
mailing list