> > + if (IS_ENABLED(CONFIG_OF) && pdev->dev.of_node) > + i2s_dai_data = of_device_get_match_data(&pdev->dev); > + else > + i2s_dai_data = (struct samsung_i2s_dai_data *) > + platform_get_device_id(pdev)->driver_data; > + BTW, as we discussed together already, you are duplicating some code here and it looks ugly. Please refactor. Thanks, Andi -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html