omap: rng: Use resource_size instead of manual calculation
Use the resource_size function instead of manually calculating the
resource size. This reduces the chance of introducing off-by-one-errors.
Signed-off-by: NTobias Klauser <tklauser@distanz.ch>
Showing
想要评论请 注册 或 登录