Re: [PATCH v2 1/2] mfd: syscon: Add platform data with a regmap config name

From: Lee Jones
Date: Wed Feb 12 2014 - 06:20:13 EST


> Define syscon platform data structure that can be used
> to define a regmap config name. This is particularly useful
> in the regmap debugfs when there is more than one syscon
> device registered, to distinguish the register blocks.
>
> Signed-off-by: Pawel Moll <pawel.moll@xxxxxxx>
> ---
> drivers/mfd/syscon.c | 4 ++++
> include/linux/platform_data/syscon.h | 8 ++++++++
> 2 files changed, 12 insertions(+)
> create mode 100644 include/linux/platform_data/syscon.h

<snip>

> +#ifndef PLATFORM_DATA_SYSCON_H
> +#define PLATFORM_DATA_SYSCON_H
> +
> +struct syscon_platform_data {
> + const char *label;
> +};

Provided you fix this up:
Acked-by: Lee Jones <lee.jones@xxxxxxxxxx>

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
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/