[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f91f0e2e990a598be0cfb7285a6c1904470d3fdf.camel@intel.com>
Date: Wed, 5 Jul 2023 21:24:42 +0000
From: "Verma, Vishal L" <vishal.l.verma@...el.com>
To: "ben.dooks@...ethink.co.uk" <ben.dooks@...ethink.co.uk>,
"nvdimm@...ts.linux.dev" <nvdimm@...ts.linux.dev>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"lenb@...nel.org" <lenb@...nel.org>,
"linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>
Subject: Re: [PATCH] ACPI: NFIT: add helper to_nfit_mem() to take device to
nfit_mem
On Mon, 2023-07-03 at 14:17 +0100, Ben Dooks wrote:
> Add a quick helper to just do struct device to the struct nfit_mem
> field it should be referencing. This reduces the number of code
> lines in some of the followgn code as it removes the intermediate
> struct nvdimm.
>
> Signed-off-by: Ben Dooks <ben.dooks@...ethink.co.uk>
> ---
> drivers/acpi/nfit/core.c | 27 +++++++++++++--------------
> 1 file changed, 13 insertions(+), 14 deletions(-)
>
Modulo the typo Dave pointed out,
Reviewed-by: Vishal Verma <vishal.l.verma@...el.com>
Powered by blists - more mailing lists