cmd_i2c: introduced get_alen helper function
The code to parse alen appeared 6 times in the function.
Factored this out in a small helper function
Signed-off-by: NFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Showing
想要评论请 注册 或 登录