diff options
| author | Felipe F. Tonello <eu@felipetonello.com> | 2016-08-23 18:24:49 +0100 |
|---|---|---|
| committer | Ajay Agarwal <ajaya@codeaurora.org> | 2018-12-27 12:01:50 +0530 |
| commit | 556e8bd7bb18a9951a4b9840bca20b9329bad408 (patch) | |
| tree | 3ab8292a38b08ea313abd07cc7f17fecc627981c /lib/pm-notifier-error-inject.c | |
| parent | 9b20776b05d6ed4a96dc37b79bee695b2010f2a0 (diff) | |
usb: gadget: remove useless parameter in alloc_ep_req()
The default_length parameter of alloc_ep_req was not really necessary
and gadget drivers would almost always create an inline function to pass
the same value to len and default_len.
This patch removes that parameter and updates all calls to alloc_ep_req() to
use the new API.
Change-Id: Idfe0e0fde8faf5f713a8368d29a4bd155208ffa2
Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Git-commit: aadbe812463f8af1751debb0eaaeec8a778d7ff1
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
[ajaya@codeaurora.org: fix merge conflicts]
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
