linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] drivers: iio: Replace ternary operator with min macro
@ 2017-03-29 12:33 simran singhal
  2017-03-29 12:33 ` [PATCH 1/4] iio: common: st_sensors: " simran singhal
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: simran singhal @ 2017-03-29 12:33 UTC (permalink / raw)
  To: jic23; +Cc: knaack.h, lars, pmeerw, linux-iio, linux-kernel, outreachy-kernel

Use macro min() to get the minimum of two values for brevity and readability. 

simran singhal (4):
  iio: common: st_sensors: Replace ternary operator with min macro
  iio: imu: st_lsm6dsx: Replace ternary operator with min macro
  iio: imu: st_lsm6dsx: Replace ternary operator with min macro
  iio: light: si1145: Replace ternary operator with min macro

 drivers/iio/common/st_sensors/st_sensors_i2c.c | 2 +-
 drivers/iio/humidity/hts221_core.c             | 2 +-
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c | 2 +-
 drivers/iio/light/si1145.c                     | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-03-29 18:57 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-29 12:33 [PATCH 0/4] drivers: iio: Replace ternary operator with min macro simran singhal
2017-03-29 12:33 ` [PATCH 1/4] iio: common: st_sensors: " simran singhal
2017-03-29 16:16   ` [Outreachy kernel] " Daniel Baluta
2017-03-29 17:24     ` SIMRAN SINGHAL
2017-03-29 12:33 ` [PATCH 2/4] iio: imu: st_lsm6dsx: " simran singhal
2017-03-29 12:33 ` [PATCH 3/4] " simran singhal
2017-03-29 12:33 ` [PATCH 4/4] iio: light: si1145: " simran singhal
2017-03-29 12:40   ` [Outreachy kernel] " Julia Lawall
2017-03-29 12:53     ` Lars-Peter Clausen
2017-03-29 14:52       ` SIMRAN SINGHAL
2017-03-29 14:53         ` SIMRAN SINGHAL
2017-03-29 18:56 ` [Outreachy kernel] [PATCH 0/4] drivers: iio: " Alison Schofield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).