From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Thu, 16 Jan 2020 07:50:30 +0100 Subject: [PATCH v2 09/19] i2c: designware_i2c: Drop scl_sda_cfg parameter In-Reply-To: <20200103222650.32592-8-sjg@chromium.org> References: <20200103222650.32592-1-sjg@chromium.org> <20200103222650.32592-8-sjg@chromium.org> Message-ID: <077b520c-1f49-85a8-4ead-599b98a2e32e@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Simon, Am 03.01.2020 um 23:26 schrieb Simon Glass: > Instead of passing this parameter into __dw_i2c_set_bus_speed(), pass in > the driver's private data, from which the function can obtain that > information. This allows the function to have access to the full state of > the driver. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > drivers/i2c/designware_i2c.c | 14 ++++++++------ > 1 file changed, 8 insertions(+), 6 deletions(-) Reviewed-by: Heiko Schocher bye, Heiko -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de