From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Thu, 11 Apr 2013 21:16:53 +0200 Subject: [U-Boot] [PATCH v2 3/7] pxa27x_udc: remove call to unimplemented set_GPIO_mode() In-Reply-To: <1365641128-15812-4-git-send-email-mikedunn@newsguy.com> References: <1365641128-15812-1-git-send-email-mikedunn@newsguy.com> <1365641128-15812-4-git-send-email-mikedunn@newsguy.com> Message-ID: <201304112116.53424.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike Dunn, > If CONFIG_USB_DEV_PULLUP_GPIO is defined, a link error occurs because the > set_GPIO_mode() helper function is not implemented. This function doesn't > do much except make the code a little more readable, so I just manually > coded its equivalent and removed the prototype from the header file. It > is invoked no where else in the code. > > While I was at it, I noticed that two other function prototypes in the same > header file are also neither implemented nor invoked anywhere, so I removed > them as well. > > Signed-off-by: Mike Dunn Reviewed-by: Marek Vasut Best regards, Marek Vasut