An important problem in the theory of lubrication is to model and analyze the effects of surface roughness on the hydrodynamic performance. An efficient method to do this is homogenization. In this paper we prove a general homogenization result which allows us to consider unstationary variational problems, related to Reynolds type equations, where the lubricant may be Newtonian or non-Newtonian. Recently, the idea of finding upper and lower bounds on the effective behavior, obtained by homogenization, was applied for the first time in tribology. The homogenization result in this work may therefore also serve as a rigorous starting point for developing these successful results to unstationary problems.