From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932218AbdJURfB (ORCPT ); Sat, 21 Oct 2017 13:35:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:38984 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932132AbdJURfA (ORCPT ); Sat, 21 Oct 2017 13:35:00 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 03A802187D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=jic23@kernel.org Date: Sat, 21 Oct 2017 18:34:55 +0100 From: Jonathan Cameron To: Brian Masney Cc: linux-iio@vger.kernel.org, gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, linux-kernel@vger.kernel.org, Jon.Brenner@ams.com Subject: Re: [PATCH 04/13] staging: iio: tsl2x7x: remove unnecessary struct iio_dev definition Message-ID: <20171021183455.533f7195@archlinux> In-Reply-To: <20171019200632.25820-5-masneyb@onstation.org> References: <20171019200632.25820-1-masneyb@onstation.org> <20171019200632.25820-5-masneyb@onstation.org> X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 19 Oct 2017 16:06:23 -0400 Brian Masney wrote: > tsl2x7x.h has a blank definition for 'struct iio_dev' that is not > needed. This patch removes that definition. > > Signed-off-by: Brian Masney Applied Thanks, Jonathan > --- > drivers/staging/iio/light/tsl2x7x.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/staging/iio/light/tsl2x7x.h b/drivers/staging/iio/light/tsl2x7x.h > index a216c6943a84..df00f2ec1719 100644 > --- a/drivers/staging/iio/light/tsl2x7x.h > +++ b/drivers/staging/iio/light/tsl2x7x.h > @@ -23,8 +23,6 @@ > #define __TSL2X7X_H > #include > > -struct iio_dev; > - > struct tsl2x7x_lux { > unsigned int ratio; > unsigned int ch0;