summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo+renesas@jmondi.org>2021-10-17 20:24:42 +0200
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-01-22 09:35:57 +0100
commit837f92f070f6b7e877143eb168025995688b9756 (patch)
treefe556b5e971dfa1d6d654f9f1f6e6162a3cac474 /.clang-format
parentmedia: subdev: add v4l2_subdev_set_routing helper() (diff)
downloadlinux-837f92f070f6b7e877143eb168025995688b9756.tar.xz
linux-837f92f070f6b7e877143eb168025995688b9756.zip
media: subdev: Add for_each_active_route() macro
Add a for_each_active_route() macro to replace the repeated pattern of iterating on the active routes of a routing table. Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format1
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index b62836419ea3..2c61b4553374 100644
--- a/.clang-format
+++ b/.clang-format
@@ -190,6 +190,7 @@ ForEachMacros:
- 'for_each_active_dev_scope'
- 'for_each_active_drhd_unit'
- 'for_each_active_iommu'
+ - 'for_each_active_route'
- 'for_each_aggr_pgid'
- 'for_each_available_child_of_node'
- 'for_each_bench'