From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Sun, 8 Dec 2019 11:38:48 +0800 Subject: [PATCH v6 066/102] spi: ich: Convert to livetree In-Reply-To: <20191206213936.v6.66.I10916bc38eb7b44e59e68879c9a97e5349247bdd@changeid> References: <20191207044315.51770-1-sjg@chromium.org> <20191206213936.v6.66.I10916bc38eb7b44e59e68879c9a97e5349247bdd@changeid> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Dec 7, 2019 at 12:51 PM Simon Glass wrote: > > Use dev_get_driver_data() to obtain the device type. It has the same > effect and is shorter. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v6: None > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > drivers/spi/ich.c | 22 +++++----------------- > 1 file changed, 5 insertions(+), 17 deletions(-) > applied to u-boot-x86/next, thanks!