Message ID | 1533301661-4877-4-git-send-email-patrice.chotard@st.com |
---|---|
State | Accepted |
Commit | ad060c052bf8593c3d21bdab1f72f5f181064972 |
Delegated to: | Tom Rini |
Headers | show |
Series | Replace serial setparity by setconfig | expand |
On 3 August 2018 at 07:07, Patrice Chotard <patrice.chotard@st.com> wrote: > setparity users has been updated to use new setconfig ops, > so we can safely remove setparity ops > > Signed-off-by: Patrice Chotard <patrice.chotard@st.com> > --- > > Changes in v3: > - Add patch to remove obsolete setparity ops > > Changes in v2: None > > include/serial.h | 10 ---------- > 1 file changed, 10 deletions(-) Reviewed-by: Simon Glass <sjg@chromium.org>
On Fri, Aug 03, 2018 at 03:07:40PM +0200, Patrice Chotard wrote: > setparity users has been updated to use new setconfig ops, > so we can safely remove setparity ops > > Signed-off-by: Patrice Chotard <patrice.chotard@st.com> > Reviewed-by: Simon Glass <sjg@chromium.org> Applied to u-boot/master, thanks!
diff --git a/include/serial.h b/include/serial.h index ed9c70af74ed..9ae4b3879085 100644 --- a/include/serial.h +++ b/include/serial.h @@ -182,16 +182,6 @@ struct dm_serial_ops { */ int (*loop)(struct udevice *dev, int on); #endif - /** - * setparity() - Set up the parity - * - * Set up a new parity for this device. - * - * @dev: Device pointer - * @parity: parity to use - * @return 0 if OK, -ve on error - */ - int (*setparity)(struct udevice *dev, enum serial_par parity); /** * setconfig() - Set up the uart configuration
setparity users has been updated to use new setconfig ops, so we can safely remove setparity ops Signed-off-by: Patrice Chotard <patrice.chotard@st.com> --- Changes in v3: - Add patch to remove obsolete setparity ops Changes in v2: None include/serial.h | 10 ---------- 1 file changed, 10 deletions(-)