[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <99e859a3-5a8e-8dc2-5a04-0a63f69173a6@linux.intel.com>
Date: Fri, 11 Mar 2022 10:24:01 +0200
From: Jarkko Nikula <jarkko.nikula@...ux.intel.com>
To: Jan Dabros <jsd@...ihalf.com>, linux-kernel@...r.kernel.org,
linux-i2c@...r.kernel.org, andriy.shevchenko@...ux.intel.com
Cc: wsa@...nel.org, upstream@...ihalf.com
Subject: Re: [PATCH v2 -next] i2c: designware: Remove code duplication
On 3/11/22 00:09, Jan Dabros wrote:
> Simplify code by moving common part to one function.
>
> Signed-off-by: Jan Dabros <jsd@...ihalf.com>
> Suggested-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
> ---
> v1->v2:
> * Add kudos for Andy who suggested this change
> * Get rid of extra function and move common code to psp_send_i2c_req
> * Update commit message and commit title
> (was "i2c:designware: Add helper to remove redundancy")
> drivers/i2c/busses/i2c-designware-amdpsp.c | 35 ++++++++++------------
> 1 file changed, 15 insertions(+), 20 deletions(-)
>
Acked-by: Jarkko Nikula <jarkko.nikula@...ux.intel.com>
Powered by blists - more mailing lists