Skip to content
Commit daa1dee4 authored by Axel Lin's avatar Axel Lin Committed by Dan Williams
Browse files

nvdimm: Fix return value of nvdimm_bus_init() if class_create() fails



Return proper error if class_create() fails.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent af834d45
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment