}
struct ccanlint has_info_documentation = {
- .key = "info-documentation",
+ .key = "info_documentation_exists",
.name = "Module has documentation in _info",
.check = check_has_info_documentation,
};
-REGISTER_TEST(has_info_documentation, NULL);
+REGISTER_TEST(has_info_documentation, &has_info, NULL);