Shah Waliullah predated the Deobandis, Barelwis and Imam Zahid al Kawthari. So it is obvious that he was not talking of the Madrasah at Deoband and its students. What is not obvious is what you are talking about.