Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1365563
| From | "Tirdea, Irina" <irina.tirdea@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | RE: [PATCH 1/1] iio: accel: bmc150: remove unused definition |
| Date | 2016-03-28 18:10 +0200 |
| Message-ID | <rhHTP-ZO-5@gated-at.bofh.it> (permalink) |
| References | <rg9rc-lu-13@gated-at.bofh.it> <rhCht-5v5-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> -----Original Message----- > From: Jonathan Cameron [mailto:jic23@kernel.org] > Sent: 28 March, 2016 13:09 > To: Tirdea, Irina; linux-iio@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; Hartmut Knaack; Lars-Peter Clausen; Peter Meerwald; Markus Pargmann > Subject: Re: [PATCH 1/1] iio: accel: bmc150: remove unused definition > > On 24/03/16 09:00, Irina Tirdea wrote: > > bmc150_i2c_regmap_conf is defined in bmc150-accel-core.c, but > > never used here. The definition is needed in bmc150-accel-i2c.c, > > where it is again defined. > > > > Remove the unnecessary definition of bmc150_i2c_regmap_conf from > > bmc150-accel-core.c and update the one from bmc150-accel-i2c.c > > to contain all fields. > > > > Signed-off-by: Irina Tirdea <irina.tirdea@intel.com> > Silly question. Why isn't it shared between the i2c and spi drivers? > Looks to be the same in both cases (as we'd expect from regmap most > of the time!). I think it would be better to share it. > Good point. I'll keep the definition in the core file and share the regmap with the rest. Thanks, Irina
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 1/1] iio: accel: bmc150: remove unused definition Irina Tirdea <irina.tirdea@intel.com> - 2016-03-24 10:10 +0100
Re: [PATCH 1/1] iio: accel: bmc150: remove unused definition Jonathan Cameron <jic23@kernel.org> - 2016-03-28 12:10 +0200
RE: [PATCH 1/1] iio: accel: bmc150: remove unused definition "Tirdea, Irina" <irina.tirdea@intel.com> - 2016-03-28 18:10 +0200
csiph-web