Re: [PATCH] i2c: mpc: Drop unused variable

From: Wolfram Sang
Date: Thu Jul 06 2023 - 15:42:37 EST


On Tue, Jul 04, 2023 at 08:00:31AM -0700, Guenter Roeck wrote:
> Fix the following build error.
>
> Error log:
> drivers/i2c/busses/i2c-mpc.c: In function 'mpc_i2c_setup_512x':
> drivers/i2c/busses/i2c-mpc.c:310:20: error: unused variable 'pval'
>
> Fixes: 9d178e00583e ("i2c: mpc: Use of_property_read_reg() to parse "reg"")
> Cc: Rob Herring <robh@xxxxxxxxxx>
> Cc: Andi Shyti <andi.shyti@xxxxxxxxxx>
> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>

Let's apply this fast before this patch comes in multiple times...

Applied to for-current, thanks!

Attachment: signature.asc
Description: PGP signature