FreeBSD/sys/kern/subr_bus.c
/**
 * @brief Find a device class
 *
 * If a device class with the name @p classname exists, return it,
 * otherwise return @c NULL.
 *
 * @param classname	the devclass name to find
 */
@brief Find a device class
If a device class with the name @p classname exists, return it,
otherwise return @c NULL.

@param classname     the devclass name to find
@brief Find a device class If a device class with the name @p classname exists return it otherwise return @c NULL . @param classname the devclass name to find
devclass_t
devclass_find(const char *classname)
{
	return (devclass_find_internal(classname, NULL, FALSE));
}
devclass_t devclass_find ( const char * classname ) { return ( devclass_find_internal ( classname , NULL , FALSE ) ) ; }
@brief Find a device class
 If a device class with the name @p classname exists, return it,
 otherwise return @c NULL.
@brief Find a device class If a device class with the name @p classname exists return it otherwise return @c NULL .