Skip to content
Commit fdea5f66 authored by Hayes Wang's avatar Hayes Wang Committed by Phil Elwell
Browse files

r8152: check if the pointer of the function exists

commit c79515e4

 upstream.

Return error code if autosuspend_en, eee_get, or eee_set don't exist.

Signed-off-by: default avatarHayes Wang <hayeswang@realtek.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 4118e782
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment