Isn't it always legal to use a trademark to refer to the product in question? If you have a driver for a piece of hardware that has the trademarked name X, it should be legal to name it "driver for X". (Of course, what is legal and what keeps you from getting sued aren't nececssarily the same.)