On Thu, Dec 20, 2012 at 04:53:16PM +0800, Axel Lin wrote: > In the case of no-match, return -EINVAL instead of 0. > > Since we assign i to ret in the for loop, ret always less than > ARRAY_SIZE(clk_map_table). Thus remove the boundary checking for ret. Applied, thanks.