On Sat, May 12, 2012 at 08:41:06PM +, KY Srinivasan wrote:
>
>
> > -Original Message-
> > From: K. Y. Srinivasan [mailto:k...@microsoft.com]
> > Sent: Saturday, May 12, 2012 4:44 PM
> > To: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org;
> > devel@linuxdriverproject.org; vir
> -Original Message-
> From: K. Y. Srinivasan [mailto:k...@microsoft.com]
> Sent: Saturday, May 12, 2012 4:44 PM
> To: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org;
> devel@linuxdriverproject.org; virtualizat...@lists.osdl.org; oher...@suse.com
> Cc: KY Srinivasan
> Subject: [
The current version negotiation code is not "future proof". Fix this
by allowing each service the flexibility to either specify the highest
version it can support or it can support the highest version number
the host is offering.
Signed-off-by: K. Y. Srinivasan
Reviewed-by: Haiyang Zhang
---
dr
The vmbus_prep_negotiate_resp() is only invoked when we are negotiating
the version; so the current check in vmbus_prep_negotiate_resp()
is unnecessary. Get rid of it.
Signed-off-by: K. Y. Srinivasan
Reviewed-by: Haiyang Zhang
---
drivers/hv/channel_mgmt.c | 39 +++
Fix-up the version negotiation code for the util drivers.
Regards,
K. Y
___
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel
On 11/05/2012 22:59, gre...@linuxfoundation.org wrote:
On Fri, May 11, 2012 at 01:26:37PM -0500, H Hartley Sweeten wrote:
How about doing this in the register function:
If (!pci_driver->name)
pci_driver->name = comedi_driver->driver_name;
This way all the drivers that s
On 05/12/2012 03:33 PM, Greg Kroah-Hartman wrote:
> On Sat, May 12, 2012 at 04:24:22PM +0200, Lars-Peter Clausen wrote:
>> On 05/12/2012 04:18 PM, Greg Kroah-Hartman wrote:
>>> On Fri, May 11, 2012 at 03:13:13PM +0200, Lars-Peter Clausen wrote:
This function is currently unused and we do not h
On Sat, May 12, 2012 at 04:24:22PM +0200, Lars-Peter Clausen wrote:
> On 05/12/2012 04:18 PM, Greg Kroah-Hartman wrote:
> > On Fri, May 11, 2012 at 03:13:13PM +0200, Lars-Peter Clausen wrote:
> >> This function is currently unused and we do not have a matching
> >> iio_device_get()
> >> function e
On 05/12/2012 04:18 PM, Greg Kroah-Hartman wrote:
> On Fri, May 11, 2012 at 03:13:13PM +0200, Lars-Peter Clausen wrote:
>> This function is currently unused and we do not have a matching
>> iio_device_get()
>> function either, so just remove it.
>>
>> Signed-off-by: Lars-Peter Clausen
>> Acked-by
On Fri, May 11, 2012 at 03:13:13PM +0200, Lars-Peter Clausen wrote:
> This function is currently unused and we do not have a matching
> iio_device_get()
> function either, so just remove it.
>
> Signed-off-by: Lars-Peter Clausen
> Acked-by: Jonathan Cameron
No, I see a number of places it shou
Replace open-coded instances of getting a iio_dev struct from a device struct
with dev_to_iio_dev().
Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Cameron
---
drivers/staging/iio/resolver/ad2s1210.c | 26 +-
1 file changed, 13 insertions(+), 13 deletions(-)
dif
Replace open-coded instances of getting a iio_dev struct from a device struct
with dev_to_iio_dev().
Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Cameron
---
drivers/staging/iio/imu/adis16400_core.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/sta
Replace open-coded instances of getting a iio_dev struct from a device struct
with dev_to_iio_dev().
Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Cameron
---
drivers/staging/iio/impedance-analyzer/ad5933.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dr
Replace open-coded instances of getting a iio_dev struct from a device struct
with dev_to_iio_dev().
Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Cameron
---
drivers/staging/iio/adc/ad7192.c | 12 ++--
drivers/staging/iio/adc/ad7280a.c | 12 ++--
drivers/s
Replace open-coded instances of getting a iio_dev struct from a device struct
with dev_to_iio_dev().
Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Cameron
---
drivers/staging/iio/light/isl29018.c | 12 -
drivers/staging/iio/light/tsl2583.c | 26 +--
d
Replace open-coded instances of getting a iio_dev struct from a device struct
with dev_to_iio_dev().
Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Cameron
---
drivers/staging/iio/dac/ad5360.c |4 ++--
drivers/staging/iio/dac/ad5380.c |8
drivers/staging/iio/dac
Replace open-coded instances of getting a iio_dev struct from a device struct
with dev_to_iio_dev().
Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Cameron
---
drivers/staging/iio/magnetometer/ak8975.c |4 ++--
drivers/staging/iio/magnetometer/hmc5843.c | 16
2 fil
Replace open-coded instances of getting a iio_dev struct from a device struct
with dev_to_iio_dev().
Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Cameron
---
drivers/staging/iio/meter/ade7753.c | 12 ++--
drivers/staging/iio/meter/ade7754.c | 12 ++--
drive
Replace open-coded instances of getting a iio_dev struct from a device struct
with dev_to_iio_dev().
Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Cameron
---
drivers/staging/iio/cdc/ad7150.c |4 ++--
drivers/staging/iio/cdc/ad7152.c |6 +++---
drivers/staging/iio/cdc/ad7746.c |
Replace open-coded instances of getting a iio_dev struct from a device struct
with dev_to_iio_dev().
Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Cameron
---
drivers/staging/iio/addac/adt7316.c | 140 +--
1 file changed, 70 insertions(+), 70 deletions(-)
Replace open-coded instances of getting a iio_dev struct from a device struct
with dev_to_iio_dev().
Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Cameron
---
drivers/staging/iio/gyro/adis16260_core.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/
Replace open-coded instances of getting a iio_dev struct from a device struct
with dev_to_iio_dev().
Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Cameron
---
drivers/staging/iio/frequency/ad5930.c |2 +-
drivers/staging/iio/frequency/ad9832.c |2 +-
drivers/staging/iio/frequency
Replace open-coded instances of getting a iio_dev struct from a device struct
with dev_to_iio_dev().
Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Cameron
---
drivers/staging/iio/accel/adis16201_core.c |2 +-
drivers/staging/iio/accel/adis16203_core.c |2 +-
drivers/staging/iio/a
When calling adis16350_spi_read_all and adis16400_spi_read_burst we pass the
device struct of embedded in the IIO device only to look up the IIO device from
the device struct again right away. This patch changes the code to pass the IIO
device directly.
Signed-off-by: Lars-Peter Clausen
Acked-by:
When calling ade7758_spi_read_burst we pass the device struct of embedded in the
IIO device only to look up the IIO device from the device struct again right
away. This patch changes the code to pass the IIO device directly.
Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Cameron
---
drive
When calling __lis3l02dq_write_data_ready_config we pass the device struct of
embedded in the IIO device only to look up the IIO device from the device struct
again right away. This patch changes the code to pass the IIO device directly.
Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Camero
When calling adis16260_read_ring_data we pass the device struct of embedded in
the IIO device only to look up the IIO device from the device struct again right
away. This patch changes the code to pass the IIO device directly.
Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Cameron
---
dri
When calling adis16240_read_ring_data we pass the device struct of embedded in
the IIO device only to look up the IIO device from the device struct again right
away. This patch changes the code to pass the IIO device directly.
Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Cameron
---
dri
This patch adds a helper function for retriving a iio_dev struct from a device
struct. Currently we open-code this in two different ways. One is using
dev_get_drvdata on the device and the other is using container_of. The new
helper function uses the container_of solution as it creates slightly sma
Replace open-coded instances of getting a iio_dev struct from a device struct
with dev_to_iio_dev().
Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Cameron
---
drivers/iio/industrialio-buffer.c | 16
drivers/iio/industrialio-core.c| 12 ++--
drivers/iio/i
When calling adis16209_read_ring_data we pass the device struct of embedded in
the IIO device only to look up the IIO device from the device struct again right
away. This patch changes the code to pass the IIO device directly.
Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Cameron
---
dri
When calling adis16203_read_ring_data we pass the device struct of embedded in
the IIO device only to look up the IIO device from the device struct again right
away. This patch changes the code to pass the IIO device directly.
Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Cameron
---
dri
When calling adis16204_read_ring_data we pass the device struct of embedded in
the IIO device only to look up the IIO device from the device struct again right
away. This patch changes the code to pass the IIO device directly.
Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Cameron
---
dri
33 matches
Mail list logo