Re: [PATCH 2/5] ASoC: Drop unnecessary of_match_device() calls

2023-10-04 Thread Charles Keepax
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 > ---

[PATCH 2/5] ASoC: Drop unnecessary of_match_device() calls

2023-10-03 Thread Rob Herring
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 --- sound/soc/codecs/ak5386.c | 7 ++- sound/soc/codecs/cs4271.c | 2