Use alias_normalize() instead of modname_normalize()
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Tue, 13 Dec 2011 12:28:00 +0000 (10:28 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Tue, 13 Dec 2011 12:41:18 +0000 (10:41 -0200)
commitd470db10a3a319d638522ed19963c64db4df41bb
treed359389dac5a280842b8bc57a34958a8ed2d8100
parentb148b8606ae67b2d6791d373f47abf3a7011e52c
Use alias_normalize() instead of modname_normalize()

When normalizing alias names (or if we don't know if it's an alias or
modname), use alias_normalize() instead of modname_normalize(). The
difference is that alias names can contain dashes withing brackets, and
those should not be changed to underscores.

Most of the places using underscores() function might be converted to
alias_normalize(), but this is not done now.
libkmod/libkmod-module.c
libkmod/libkmod.c