+static int irq_am_register_debugfs(struct irq_am *am)
+{
+ char name[20];
+
+ snprintf(name, sizeof(name), "am%u", am->id);
+ am->debugfs_dir = debugfs_create_dir(name,
+ irq_am_debugfs_root);
How is a user expected to figure out which driver am%u is associated with?
Please make sure that these directories have a name that makes it easy for
users to figure out what driver the moderation settings apply to.
You're right... It was just for me for local debugging at this point and
had every intention to get the debugfs into shape once I collect an
initial round of reviews.