From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Tue, 19 Nov 2019 21:53:06 +0800 Subject: [U-Boot] [PATCH v3 078/108] spi: ich: Convert to livetree In-Reply-To: <20191021033913.220758-73-sjg@chromium.org> References: <20191021033913.220758-22-sjg@chromium.org> <20191021033913.220758-73-sjg@chromium.org> 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 Mon, Oct 21, 2019 at 11:40 AM 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 > --- > > Changes in v3: None > Changes in v2: None > > drivers/spi/ich.c | 22 +++++----------------- > 1 file changed, 5 insertions(+), 17 deletions(-) > Reviewed-by: Bin Meng