PM: runtime: add missed pm_request_autosuspend

The patch "PM / Runtime: Implement autosuspend support" introduces
"autosuspend" facility for runtime PM, but misses helper function
of pm_request_autosuspend, so add it.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>

authored by Ming Lei and committed by Rafael J. Wysocki 5fc62aad d0941ead

+5
+5
include/linux/pm_runtime.h
··· 164 164 return __pm_runtime_resume(dev, RPM_ASYNC); 165 165 } 166 166 167 + static inline int pm_request_autosuspend(struct device *dev) 168 + { 169 + return __pm_runtime_suspend(dev, RPM_ASYNC | RPM_AUTO); 170 + } 171 + 167 172 static inline int pm_runtime_get(struct device *dev) 168 173 { 169 174 return __pm_runtime_resume(dev, RPM_GET_PUT | RPM_ASYNC);