goldfish_battery: Use resource_size()
This uses the resource_size() function instead of explicit computation. Signed-off-by: NSilviu-Mihai Popescu <silviupopescu1990@gmail.com> Signed-off-by: NAndrei Epure <epure.andrei@gmail.com> Signed-off-by: NAnton Vorontsov <anton@enomsg.org>
Showing
想要评论请 注册 或 登录