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

From: Jarkko Nikula

Date: Wed Jun 03 2026 - 14:11:07 EST


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 <s.hauer@xxxxxxxxxxxxxx>
---
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