net: Rework netdev_drivername() to avoid warning.