ice: use min_t() to make code cleaner in ice_gnss
authorWan Jiabing <wanjiabing@vivo.com>
Mon, 21 Mar 2022 13:59:47 +0000 (21:59 +0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 5 May 2022 18:28:35 +0000 (11:28 -0700)
commit187dbc15d8a7c4437c7757eba8542594d7eab22e
treed9a23fe64219330a67a773afeabaf1b25a8b86af
parent1c1ed5a48411e1686997157c21633653fbe045c6
ice: use min_t() to make code cleaner in ice_gnss

Fix the following coccicheck warning:
./drivers/net/ethernet/intel/ice/ice_gnss.c:79:26-27: WARNING opportunity for min()

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Tested-by: Gurucharan <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_gnss.c