Skip to content
Commit 55f21ab8 authored by Jun Lin's avatar Jun Lin Committed by Anas Nashif
Browse files

drivers: PS/2: npcx: Replace device_get_binding with DEVICE_DT_GET



Replace device_get_binding() with DEVICE_DT_GET to obtain the PS/2
controller and clock control device objects. It helps to improve the
efficiency for driver initialization as DEVICE_DT_GET is processed
at the link time rather than run time.

Signed-off-by: default avatarJun Lin <CHLin56@nuvoton.com>
parent 9d5da14a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment