diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-03-09 19:06:52 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-24 08:26:30 +0100 |
commit | 199c4d0efe7d9e5ed0036efeeb8ddb862dafe09a (patch) | |
tree | 8e1e70946abdf295a7160b7948a1146215cf910d /drivers/ras | |
parent | f6d706dd9baaa1d7857ce5b03af491718a95e9bf (diff) |
w1: w1_therm: use clamp() in int_to_short()
It's slightly cleaner to use the clamp() macro instead of open coding
this.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YEedHNwqEH8fvjkD@mwanda
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ras')
0 files changed, 0 insertions, 0 deletions