Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: st: flexgen: remove unused compatible

Following B2120 boards removal in commit dee546e1adef ("ARM: sti: drop
B2120 board support"), several compatibles are left unused. Remove
them.

Signed-off-by: Raphael Gallais-Pou <rgallaispou@gmail.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Raphael Gallais-Pou and committed by
Stephen Boyd
bbcc60a4 539b06e9

-80
-80
drivers/clk/st/clk-flexgen.c
··· 303 303 .mode = 1, 304 304 }; 305 305 306 - static const struct clkgen_clk_out clkgen_stih407_a0_clk_out[] = { 307 - /* This clk needs to be on so that memory interface is accessible */ 308 - { .name = "clk-ic-lmi0", .flags = CLK_IS_CRITICAL }, 309 - }; 310 - 311 - static const struct clkgen_data clkgen_stih407_a0 = { 312 - .outputs = clkgen_stih407_a0_clk_out, 313 - .outputs_nb = ARRAY_SIZE(clkgen_stih407_a0_clk_out), 314 - }; 315 - 316 306 static const struct clkgen_clk_out clkgen_stih410_a0_clk_out[] = { 317 307 /* Those clks need to be on so that memory interface is accessible */ 318 308 { .name = "clk-ic-lmi0", .flags = CLK_IS_CRITICAL }, ··· 312 322 static const struct clkgen_data clkgen_stih410_a0 = { 313 323 .outputs = clkgen_stih410_a0_clk_out, 314 324 .outputs_nb = ARRAY_SIZE(clkgen_stih410_a0_clk_out), 315 - }; 316 - 317 - static const struct clkgen_clk_out clkgen_stih407_c0_clk_out[] = { 318 - { .name = "clk-icn-gpu", }, 319 - { .name = "clk-fdma", }, 320 - { .name = "clk-nand", }, 321 - { .name = "clk-hva", }, 322 - { .name = "clk-proc-stfe", }, 323 - { .name = "clk-proc-tp", }, 324 - { .name = "clk-rx-icn-dmu", }, 325 - { .name = "clk-rx-icn-hva", }, 326 - /* This clk needs to be on to keep bus interconnect alive */ 327 - { .name = "clk-icn-cpu", .flags = CLK_IS_CRITICAL }, 328 - /* This clk needs to be on to keep bus interconnect alive */ 329 - { .name = "clk-tx-icn-dmu", .flags = CLK_IS_CRITICAL }, 330 - { .name = "clk-mmc-0", }, 331 - { .name = "clk-mmc-1", }, 332 - { .name = "clk-jpegdec", }, 333 - /* This clk needs to be on to keep A9 running */ 334 - { .name = "clk-ext2fa9", .flags = CLK_IS_CRITICAL }, 335 - { .name = "clk-ic-bdisp-0", }, 336 - { .name = "clk-ic-bdisp-1", }, 337 - { .name = "clk-pp-dmu", }, 338 - { .name = "clk-vid-dmu", }, 339 - { .name = "clk-dss-lpc", }, 340 - { .name = "clk-st231-aud-0", }, 341 - { .name = "clk-st231-gp-1", }, 342 - { .name = "clk-st231-dmu", }, 343 - /* This clk needs to be on to keep bus interconnect alive */ 344 - { .name = "clk-icn-lmi", .flags = CLK_IS_CRITICAL }, 345 - { .name = "clk-tx-icn-disp-1", }, 346 - /* This clk needs to be on to keep bus interconnect alive */ 347 - { .name = "clk-icn-sbc", .flags = CLK_IS_CRITICAL }, 348 - { .name = "clk-stfe-frc2", }, 349 - { .name = "clk-eth-phy", }, 350 - { .name = "clk-eth-ref-phyclk", }, 351 - { .name = "clk-flash-promip", }, 352 - { .name = "clk-main-disp", }, 353 - { .name = "clk-aux-disp", }, 354 - { .name = "clk-compo-dvp", }, 355 - }; 356 - 357 - static const struct clkgen_data clkgen_stih407_c0 = { 358 - .outputs = clkgen_stih407_c0_clk_out, 359 - .outputs_nb = ARRAY_SIZE(clkgen_stih407_c0_clk_out), 360 325 }; 361 326 362 327 static const struct clkgen_clk_out clkgen_stih410_c0_clk_out[] = { ··· 427 482 .outputs_nb = ARRAY_SIZE(clkgen_stih418_c0_clk_out), 428 483 }; 429 484 430 - static const struct clkgen_clk_out clkgen_stih407_d0_clk_out[] = { 431 - { .name = "clk-pcm-0", }, 432 - { .name = "clk-pcm-1", }, 433 - { .name = "clk-pcm-2", }, 434 - { .name = "clk-spdiff", }, 435 - }; 436 - 437 - static const struct clkgen_data clkgen_stih407_d0 = { 438 - .flags = CLK_SET_RATE_PARENT, 439 - .outputs = clkgen_stih407_d0_clk_out, 440 - .outputs_nb = ARRAY_SIZE(clkgen_stih407_d0_clk_out), 441 - }; 442 - 443 485 static const struct clkgen_clk_out clkgen_stih410_d0_clk_out[] = { 444 486 { .name = "clk-pcm-0", }, 445 487 { .name = "clk-pcm-1", }, ··· 529 597 .data = &clkgen_video, 530 598 }, 531 599 { 532 - .compatible = "st,flexgen-stih407-a0", 533 - .data = &clkgen_stih407_a0, 534 - }, 535 - { 536 600 .compatible = "st,flexgen-stih410-a0", 537 601 .data = &clkgen_stih410_a0, 538 - }, 539 - { 540 - .compatible = "st,flexgen-stih407-c0", 541 - .data = &clkgen_stih407_c0, 542 602 }, 543 603 { 544 604 .compatible = "st,flexgen-stih410-c0", ··· 539 615 { 540 616 .compatible = "st,flexgen-stih418-c0", 541 617 .data = &clkgen_stih418_c0, 542 - }, 543 - { 544 - .compatible = "st,flexgen-stih407-d0", 545 - .data = &clkgen_stih407_d0, 546 618 }, 547 619 { 548 620 .compatible = "st,flexgen-stih410-d0",