openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/sysfsutils/2.1.0-r5/sysfsutils-2.1.0/lib/sysfs_device.c
struct dlist* sysfs_get_device_attributes(struct sysfs_device* dev)
{
    if (!dev)
    {
        errno = EINVAL;
        return NULL;
    }
    return get_dev_attributes_list(dev);
}
/**
 * sysfs_get_device_attributes: gets list of device attributes
 * @dev: device whose attributes list is needed
 * returns dlist of attributes on success or NULL on error
 */
gets list of device attributes
@dev: device whose attributes list is needed
returns dlist of attributes on success or NULL on error
gets list of device attributes @dev : device whose attributes list is needed returns dlist of attributes on success or NULL on error
struct dlist* sysfs_get_device_attributes(struct sysfs_device* dev)
{
    if (!dev)
    {
        errno = EINVAL;
        return NULL;
    }
    return get_dev_attributes_list(dev);
}
struct dlist * sysfs_get_device_attributes ( struct sysfs_device * dev ) { if ( ! dev ) { errno = EINVAL ; return NULL ; } return get_dev_attributes_list ( dev ) ; }
sysfs_get_device_attributes: gets list of device attributes
 @dev: device whose attributes list is needed
 returns dlist of attributes on success or NULL on error
sysfs_get_device_attributes : gets list of device attributes @dev : device whose attributes list is needed returns dlist of attributes on success or NULL on error