[PATCH] tifm: fix NULL ptr and style