Commit 6250ebe6 authored by Guenter Roeck's avatar Guenter Roeck Committed by Wolfram Sang
Browse files

i2c: Fix core-managed per-client debugfs handling



The debugfs directory should be created when a device
is probed, not when it is registered. It should be removed
when the device is removed, not when it is unregistered.

Fixes: d06905d6 ("i2c: add core-managed per-client directory in debugfs")
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 5851a88d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment