[PATCH v1 0/4] iio: afe: rescale: A few cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There are cleanups to the code, most of the + LoCs due to missed inclusions.

The patch 3 is kinda interesting as in long term the idea to add multiplication
and division macros over the fract structures, which will simplify code that
uses rational numbers. Hence the mentioned patch is just a preparatory for making
next step easier.

Andy Shevchenko (4):
  iio: afe: rescale: Don't use ^ for booleans
  iio: afe: rescale: Don't use ULL(1) << x instead of BIT(x)
  iio: afe: rescale: Re-use generic struct s32_fract
  iio: afe: rescale: Don't use "proxy" headers

 drivers/iio/afe/iio-rescale.c   | 88 ++++++++++++++++++---------------
 include/linux/iio/afe/rescale.h |  5 +-
 2 files changed, 51 insertions(+), 42 deletions(-)

-- 
2.43.0.rc1.1336.g36b5255a03ac





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux