Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1171705

Re: [PATCH v6 6/9] nvmem: qfprom: Add Qualcomm QFPROM support.

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH v6 6/9] nvmem: qfprom: Add Qualcomm QFPROM support.
Date 2015-06-25 00:10 +0200
Message-ID <pF11M-5Zy-11@gated-at.bofh.it> (permalink)
References <pEj0K-1oI-11@gated-at.bofh.it> <pEj0K-1oI-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 06/22/2015 04:09 PM, Srinivas Kandagatla wrote:
> diff --git a/drivers/nvmem/qfprom.c b/drivers/nvmem/qfprom.c
> new file mode 100644
> index 0000000..7f7a82f
> --- /dev/null
> +++ b/drivers/nvmem/qfprom.c
> @@ -0,0 +1,89 @@
>
> +
> +#include <linux/platform_device.h>
> +#include <linux/nvmem-provider.h>
> +#include <linux/slab.h>
> +#include <linux/regmap.h>
> +#include <linux/device.h>
> +#include <linux/io.h>

Is this include used?

> +#include <linux/module.h>
> +#include <linux/delay.h>

Is this include used?

> +#include <linux/of.h>
> +
> +static struct regmap_config qfprom_regmap_config = {

Can this be const?

> +	.reg_bits = 32,
> +	.val_bits = 8,
> +	.reg_stride = 1,
> +};
> +
> +static struct nvmem_config econfig = {

And this one too?

> +	.name = "qfprom",
> +	.owner = THIS_MODULE,
> +};
> +


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v6 6/9] nvmem: qfprom: Add Qualcomm QFPROM support. Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-06-23 01:10 +0200
  Re: [PATCH v6 6/9] nvmem: qfprom: Add Qualcomm QFPROM support. Stephen Boyd <sboyd@codeaurora.org> - 2015-06-25 00:10 +0200

csiph-web