Re: [PATCH] asus-laptop: is_visible should not return a bool
From: Darren Hart
Date: Sun Jan 18 2015 - 14:12:48 EST
On Fri, Jan 16, 2015 at 09:29:19AM -0500, Vivien Didelot wrote:
> With a Lucid platform, asus_sysfs_is_visible() returns a boolean for
> ls_switch and ls_level attributes. Fix that and also s/supported/ok/ and
> s/asus->handle/handle/ to avoid lines wider than 80 chars.
This is two patches, a cleanup and functional change. Since the cleanup has
nothing to do with the cleanup, please split these out.
"ok" is an atypical variable name. It looks as though "ret" would server just as
well and is far more consistent with typical usage.
--
Darren Hart
Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/