Skip to content
Commit ab3300de authored by Dan Carpenter's avatar Dan Carpenter Committed by Jonathan Cameron
Browse files

counter: microchip-tcb-capture: check the correct variable



This should be testing "regmap" instead of "priv->regmap".  The
"priv->regmap" variable is always zero so it's not an error pointer.

Fixes: 106b1041 ("counter: Add microchip TCB capture counter")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 33630679
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment