gpio simulator + configfs changes for v5.16

- implement committable items in configfs
- add sample code
- implement the GPIO simulator based on configfs committable items
- add tests
gpio: sim: fix missing unlock on error in gpio_sim_config_commit_item()

Add the missing unlock before return from function
gpio_sim_config_commit_item() in the error handling
case.

Fixes: b48f6b466e44 ("gpio: sim: new testing module")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
1 file changed