Re: [PATCH] regulator: convert to DEFINE_SHOW_ATTRIBUTE

From: Mark Brown
Date: Mon Dec 17 2018 - 07:25:54 EST


On Sat, Dec 15, 2018 at 03:21:48AM -0500, Yangtao Li wrote:
> Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.
>
> Signed-off-by: Yangtao Li <tiny.windzz@xxxxxxxxx>

> +#ifdef CONFIG_DEBUG_FS
> debugfs_create_file("supply_map", 0444, debugfs_root, NULL,
> &supply_map_fops);
>
> debugfs_create_file("regulator_summary", 0444, debugfs_root,
> NULL, &regulator_summary_fops);
> -
> +#endif

This appears to be an unrelated change not mentioned in your changelog?

Attachment: signature.asc
Description: PGP signature