Skip to content

Commit 43ab245

Browse files
krzkvireshk
authored andcommitted
cpufreq: brcmstb-avs: Fully open-code compatible for grepping
It is very useful to find driver implementing compatibles with `git grep compatible`, so driver should not use defines for that string, even if this means string will be effectively duplicated. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
1 parent 897c095 commit 43ab245

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/cpufreq/brcmstb-avs-cpufreq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ static void brcm_avs_cpufreq_remove(struct platform_device *pdev)
765765
}
766766

767767
static const struct of_device_id brcm_avs_cpufreq_match[] = {
768-
{ .compatible = BRCM_AVS_CPU_DATA },
768+
{ .compatible = "brcm,avs-cpu-data-mem" },
769769
{ }
770770
};
771771
MODULE_DEVICE_TABLE(of, brcm_avs_cpufreq_match);

0 commit comments

Comments
 (0)