On Mar 9, 2018, at 12:38 AM, Pali RohÃr <pali.rohar@xxxxxxxxx> wrote:
On Thursday 08 March 2018 17:10:22 Kai-Heng Feng wrote:
+int dell_switchable_gfx_enabled(bool *enabled);
What about following API?
bool dell_switchable_gfx_is_enabled(void);
Are you really interested in errors? Then what about?
int dell_switchable_gfx_is_enabled(void);
with e.g.
< 0 - error
= 0 - disabled
0 - enabled
--
Pali RohÃr
pali.rohar@xxxxxxxxx