Re: [PATCH 3/4] ASoC: ti: rx51: drop unnecessary machine checks

Jarkko Nikula <[email protected]>
Newsgroups org.kernel.vger.linux-omap,org.kernel.vger.linux-kernel,org.kernel.vger.linux-sound
Message-ID <[email protected]>
Hi

On 6/3/26 3:09 PM, Sascha Hauer wrote:
> Nokia N900 is device tree only, machine_is_nokia_rx51() always expands
> to 0. Testing for of_machine_is_compatible() is unnecessary as the
> N900 is the only board registering the device node necessary to get to
> this point, so remove that as well. This makes inclusion of mach-types.h
> unnecessary.
>
> Signed-off-by: Sascha Hauer <[email protected]>
> ---
>   sound/soc/ti/rx51.c | 5 -----
>   1 file changed, 5 deletions(-)
Recent patch removed the machine_is_nokia_rx51(). Could you base your 
of_machine_is_compatible() removal on top of it.

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git/commit/sound/soc/ti/rx51.c?id=ee05c329c0487c86d37635a7503ba989c6aa7636
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.