iio: adc: Provide mult_fract() and make use of it
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 2 repliesIn review
- v13 patches 4 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | math.h: Add mult_fract() that takes struct __Txx_fract as argumentinclude/ | +7 | 0 replies | |
| 2/3 | iio: adc: ad4030: Switch to use mult_fract() helperdrivers/ | +6 | 0 replies | |
| 3/3 | iio: adc: ltc2378: Switch to use mult_fract() helperdrivers/ | +3 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Marcelo Schmitt | Joshua Crofts |
|---|---|---|
| Series | R-b | |
| 1/3 | R-b | |
| 2/3 | R-b | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] iio: adc: Provide mult_fract() and make use of it
In a couple of IIO ADC driver the suggested new helper mult_fract() may be used. So, provide it and update the straightforward users.
The helper has potential treewide, hence it's provided directly in math.h.
In v2:
- updated commit message in patch 1 (Sashiko, c/o Joshua)
- used local variable to avoid double evaluation (Sashiko, c/o Joshua)
- collected tags (Marcelo)
v1: <[email protected]>
Andy Shevchenko (3):
math.h: Add mult_fract() that takes struct __Txx_fract as argument
iio: adc: ad4030: Switch to use mult_fract() helper
iio: adc: ltc2378: Switch to use mult_fract() helper
drivers/iio/adc/ad4030.c | 13 ++++++------- drivers/iio/adc/ltc2378.c | 4 +++- include/linux/math.h | 7 +++++++ 3 files changed, 16 insertions(+), 8 deletions(-)
Signature · 1 line
2.50.1