i2c: lpc32xx: Factor out i2c_adapter parameter
authorLiam Beguin <lbeguin@tycoint.com>
Mon, 27 Mar 2017 15:11:36 +0000 (11:11 -0400)
committerHeiko Schocher <hs@denx.de>
Tue, 28 Mar 2017 04:26:30 +0000 (06:26 +0200)
commiteddac8e9fe80c020fa86d462cd616ba4d4f9f6a5
tree6caa2c71b976196db58e4f510e7bad590c70436c
parent552531e45d852b06d641a960bad79cff3a0d23ad
i2c: lpc32xx: Factor out i2c_adapter parameter

This is part of the prep work for the migration to the driver model.
It will enable the driver to support DM and non-DM configurations
using the same functions.

Signed-off-by: Liam Beguin <lbeguin@tycoint.com>
Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
drivers/i2c/lpc32xx_i2c.c