aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2021-12-06 03:04:21 +0100
committerGuenter Roeck <[email protected]>2021-12-26 15:02:06 -0800
commite0149eebe47b9fe50cf85f23bcaeed81d7356c99 (patch)
tree866c527fe52f3ad6737ae2a476c76073cec5f155 /net/lapb/lapb_timer.c
parentd75553790b9f44f9a6023a51ca5283ef4688f339 (diff)
hwmon: (ntc_thermistor) Move and refactor DT parsing
Move the parsing of the DT config right above probe(). Allocate the state container for the driver in probe() instead of inside the DT config parsing function: as a result return an int instead of a pointer. Drop the check for !np: we can only probe from DT right now so no risk of ending up here. Cc: Peter Rosin <[email protected]> Cc: Chris Lesiak <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions