summaryrefslogtreecommitdiffstats
path: root/net/sctp/socket.c
diff options
context:
space:
mode:
authorHartmut Knaack <knaack.h@gmx.de>2015-07-28 00:39:01 +0200
committerJonathan Cameron <jic23@kernel.org>2015-08-02 19:08:13 +0100
commit609e9d88f277bfe83392595745cc3976d42125b2 (patch)
tree85f4d17a3b7482b0848405b5c804d59a55658497 /net/sctp/socket.c
parent688febbd168c52ab54ad29c210aceecb72386398 (diff)
downloadop-kernel-dev-609e9d88f277bfe83392595745cc3976d42125b2.zip
op-kernel-dev-609e9d88f277bfe83392595745cc3976d42125b2.tar.gz
iio:adc:berlin2-adc: use short operator format
Use augmented assignment to subtract the offset for negative temperature values. Specify the amount of private data to be allocated through devm_iio_device_alloc() with sizeof(*priv), as it is shorter and common practice in IIO. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> Acked-by: Antoine Tenart <antoine.tenart@free-electrons.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'net/sctp/socket.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud