mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
mfd: sprd: Jugle {of,spi}_device_id tables into numerical order
Ordered with the smallest number at the top. Signed-off-by: Cixi Geng <cixi.geng1@unisoc.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Link: https://lore.kernel.org/r/20220427075212.3409407-1-gengcixi@gmail.com
This commit is contained in:
parent
875709f978
commit
d95ab6d2af
@ -240,15 +240,15 @@ static int sprd_pmic_resume(struct device *dev)
|
||||
static SIMPLE_DEV_PM_OPS(sprd_pmic_pm_ops, sprd_pmic_suspend, sprd_pmic_resume);
|
||||
|
||||
static const struct of_device_id sprd_pmic_match[] = {
|
||||
{ .compatible = "sprd,sc2731", .data = &sc2731_data },
|
||||
{ .compatible = "sprd,sc2730", .data = &sc2730_data },
|
||||
{ .compatible = "sprd,sc2731", .data = &sc2731_data },
|
||||
{},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, sprd_pmic_match);
|
||||
|
||||
static const struct spi_device_id sprd_pmic_spi_ids[] = {
|
||||
{ .name = "sc2731", .driver_data = (unsigned long)&sc2731_data },
|
||||
{ .name = "sc2730", .driver_data = (unsigned long)&sc2730_data },
|
||||
{ .name = "sc2731", .driver_data = (unsigned long)&sc2731_data },
|
||||
{},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(spi, sprd_pmic_spi_ids);
|
||||
|
Loading…
Reference in New Issue
Block a user