Change-Id: I590c995f69ab84e54fb7124a9e577673a97c2693
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
}
dev = container_of(type, struct device, type);
- if (dev == NULL) {
- _E("device cannot find");
- errno = EPERM;
- return -1;
- }
if (dev->get_prop == NULL) {
_E("devtype doesn't have getter function");
}
dev = container_of(type, struct device, type);
- if (dev == NULL) {
- _E("device cannot find");
- errno = EPERM;
- return -1;
- }
if (dev->set_prop == NULL) {
_E("devtype doesn't have setter function");