asus-laptop: use device_create_file() instead of platform_group
There is two reason to do that:
- we don't want a "gps" file if the model doesn't have a gps
- we don't want to use global variables anymore
Signed-off-by: NCorentin Chary <corentincj@iksaif.net>
Showing
想要评论请 注册 或 登录