dm: treewide: Rename auto_alloc_size members to be shorter
This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -438,6 +438,6 @@ U_BOOT_DRIVER(k3_sec_proxy) = {
|
||||
.of_match = k3_sec_proxy_ids,
|
||||
.probe = k3_sec_proxy_probe,
|
||||
.remove = k3_sec_proxy_remove,
|
||||
.priv_auto_alloc_size = sizeof(struct k3_sec_proxy_mbox),
|
||||
.priv_auto = sizeof(struct k3_sec_proxy_mbox),
|
||||
.ops = &k3_sec_proxy_mbox_ops,
|
||||
};
|
||||
|
||||
@@ -50,5 +50,5 @@ U_BOOT_DRIVER(sandbox_mbox_test) = {
|
||||
.name = "sandbox_mbox_test",
|
||||
.id = UCLASS_MISC,
|
||||
.of_match = sandbox_mbox_test_ids,
|
||||
.priv_auto_alloc_size = sizeof(struct sandbox_mbox_test),
|
||||
.priv_auto = sizeof(struct sandbox_mbox_test),
|
||||
};
|
||||
|
||||
@@ -100,6 +100,6 @@ U_BOOT_DRIVER(sandbox_mbox) = {
|
||||
.of_match = sandbox_mbox_ids,
|
||||
.bind = sandbox_mbox_bind,
|
||||
.probe = sandbox_mbox_probe,
|
||||
.priv_auto_alloc_size = sizeof(struct sandbox_mbox),
|
||||
.priv_auto = sizeof(struct sandbox_mbox),
|
||||
.ops = &sandbox_mbox_mbox_ops,
|
||||
};
|
||||
|
||||
@@ -163,6 +163,6 @@ U_BOOT_DRIVER(stm32_ipcc) = {
|
||||
.id = UCLASS_MAILBOX,
|
||||
.of_match = stm32_ipcc_ids,
|
||||
.probe = stm32_ipcc_probe,
|
||||
.priv_auto_alloc_size = sizeof(struct stm32_ipcc),
|
||||
.priv_auto = sizeof(struct stm32_ipcc),
|
||||
.ops = &stm32_ipcc_mbox_ops,
|
||||
};
|
||||
|
||||
@@ -189,6 +189,6 @@ U_BOOT_DRIVER(tegra_hsp) = {
|
||||
.of_match = tegra_hsp_ids,
|
||||
.bind = tegra_hsp_bind,
|
||||
.probe = tegra_hsp_probe,
|
||||
.priv_auto_alloc_size = sizeof(struct tegra_hsp),
|
||||
.priv_auto = sizeof(struct tegra_hsp),
|
||||
.ops = &tegra_hsp_mbox_ops,
|
||||
};
|
||||
|
||||
@@ -137,6 +137,6 @@ U_BOOT_DRIVER(zynqmp_ipi) = {
|
||||
.id = UCLASS_MAILBOX,
|
||||
.of_match = zynqmp_ipi_ids,
|
||||
.probe = zynqmp_ipi_probe,
|
||||
.priv_auto_alloc_size = sizeof(struct zynqmp_ipi),
|
||||
.priv_auto = sizeof(struct zynqmp_ipi),
|
||||
.ops = &zynqmp_ipi_mbox_ops,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user