Skip to content

Commit

Permalink
thermal: exynos: Clean-up code to use oneline entry for exynos compat…
Browse files Browse the repository at this point in the history
…ible table

This patch cleanup the code to use oneline for entry of exynos compatible
table.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
  • Loading branch information
Chanwoo Choi authored and Eduardo Valentin committed Feb 24, 2015
1 parent ac71c70 commit b71d399
Showing 1 changed file with 10 additions and 28 deletions.
38 changes: 10 additions & 28 deletions drivers/thermal/samsung/exynos_tmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -918,34 +918,16 @@ static irqreturn_t exynos_tmu_irq(int irq, void *id)
}

static const struct of_device_id exynos_tmu_match[] = {
{
.compatible = "samsung,exynos3250-tmu",
},
{
.compatible = "samsung,exynos4210-tmu",
},
{
.compatible = "samsung,exynos4412-tmu",
},
{
.compatible = "samsung,exynos5250-tmu",
},
{
.compatible = "samsung,exynos5260-tmu",
},
{
.compatible = "samsung,exynos5420-tmu",
},
{
.compatible = "samsung,exynos5420-tmu-ext-triminfo",
},
{
.compatible = "samsung,exynos5440-tmu",
},
{
.compatible = "samsung,exynos7-tmu",
},
{},
{ .compatible = "samsung,exynos3250-tmu", },
{ .compatible = "samsung,exynos4210-tmu", },
{ .compatible = "samsung,exynos4412-tmu", },
{ .compatible = "samsung,exynos5250-tmu", },
{ .compatible = "samsung,exynos5260-tmu", },
{ .compatible = "samsung,exynos5420-tmu", },
{ .compatible = "samsung,exynos5420-tmu-ext-triminfo", },
{ .compatible = "samsung,exynos5440-tmu", },
{ .compatible = "samsung,exynos7-tmu", },
{ /* sentinel */ },
};
MODULE_DEVICE_TABLE(of, exynos_tmu_match);

Expand Down

0 comments on commit b71d399

Please sign in to comment.