/* Display the handle used by the applications while executing management tasks on the adapter. We invoke a management module API to get the adapter handle, since we do not interface with applications directly.  */
static ssize_t megaraid_sysfs_show_app_hndl(struct device *, struct device_attribute *attr, char *)
/* Display the handle used by the applications while executing management tasks on the adapter. We invoke a management module API to get the adapter handle, since we do not interface with applications directly.  */
static ssize_t megaraid_sysfs_show_app_hndl(struct device *, struct device_attribute *attr, char *)
{
	struct Scsi_Host *shost = class_to_shost(dev);
	adapter_t	*adapter = (adapter_t *)SCSIHOST2ADAP(shost);
	uint32_t	app_hndl;
	app_hndl = mraid_mm_adapter_app_handle(adapter->unique_id);
	return snprintf(buf, 8, "%u\n", app_hndl);
}