[RFC 9/9] platform/x86: huawei-wmi: Add debugfs support

2019-07-31 Thread Ayman Bagabas
Add a debugfs interface that can be used to call the WMI management interface function. The WMI interface takes a 64 bit integer and returns 256-260 bytes buffer. This debugfs interface creates two files, one stores a 64 bit int and the other calls the WMI interface and dumps out the returned

[RFC 9/9] platform/x86: huawei-wmi: Add debugfs support

2019-06-29 Thread Ayman Bagabas
Add a debugfs interface that can be used to call the WMI management interface function. The WMI interface takes a 64 bit integer and returns 256-260 bytes buffer. This debugfs interface creates two files, one stores a 64 bit int and the other calls the WMI interface and dumps out the returned