Revert "Use hw_get_module_by_class"

This reverts commit 2293d25ca75612149db2fa514d6b3deb818069a6.
Merge pull request #26 from Ultrax5/pa

Revert "Use hw_get_module_by_class"