freebsd-dev/sys/dev/extres
Andriy Gapon c3a7328be8 aw_clk_nm: fix incorrect use of abs()
abs() takes a (signed) int as input.
Instead, it was used with unsigned 64-bit integers.

So, add and use a new helper function to calculate a difference between
two uint64_t-s.

Reviewed by:	manu
MFC after:	2 weeks
Differential Revision: https://reviews.freebsd.org/D26307
2020-09-07 06:27:18 +00:00
..
clk aw_clk_nm: fix incorrect use of abs() 2020-09-07 06:27:18 +00:00
hwreset Remove redundant declarations. Newer gcc has a warning for these so will 2017-08-19 17:18:27 +00:00
nvmem nvmem: Add nvmem interface and helpers 2018-07-31 19:08:24 +00:00
phy extres: Unify error codes for <foo>_get_by_ofw_property() methods. 2019-03-19 14:30:54 +00:00
regulator Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
syscon Add syscon power and reset control device driver 2020-07-26 18:19:50 +00:00