w1: omap-hdq: don't hardcode resource size
we have the helpful resource_size() macro to calculate the size of the memory resource for us, let's use it. Signed-off-by: NFelipe Balbi <balbi@ti.com> Acked-by: NEvgeniy Polyakov <zbr@ioremap.net> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录