.info = visorhba_get_info can be removed, along with the corresponding function. Consider adding a show_info function to take it's place, which can possibly call info_debugfs_show(). See
aha152x_show_info() function / aha152x_show_info() refs as an example.
#define visorhba_MAX_CMNDS 128 is awkward and should be removed
See KanBoard-19850.
Some things I noticed:
.name
should be simply "visorhba"..info = visorhba_get_info
can be removed, along with the corresponding function. Consider adding ashow_info
function to take it's place, which can possibly call info_debugfs_show(). See aha152x_show_info() function / aha152x_show_info() refs as an example.#define visorhba_MAX_CMNDS 128
is awkward and should be removed