int dpst_histogram_get_status(struct drm_device *dev, struct drm_psb_hist_status_arg *hist_data) { int ret = 0; ret = psb_hist_status(dev, hist_data); if (ret) { pr_err("Histogram get status ioctl returned error\n"); return 1; } return 0; }
int dpst_histogram_get_status(struct drm_device *dev, struct drm_psb_hist_status_arg *hist_data) { int ret = 0; ret = psb_hist_status(dev, hist_data); if (ret) { printk(KERN_ERR "Error: histogram get status ioctl returned error: %d\n", ret); return 1; } return 0; }