commit | bd2238fb84df6054d966364d07e0414b54ef8e19 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Tue Nov 10 16:09:23 2015 +0100 |
committer | Geert Uytterhoeven <geert+renesas@glider.be> | Thu Dec 17 11:18:47 2015 +0100 |
tree | 46fcbb02074a0c681f2566c9e3cbaa856710ed26 | |
parent | b8bbd6b2923279f1c9c74d59638b38a1eace78e8 [diff] |
serial: sh-sci: Replace struct sci_port_info by type/regtype encoding Store the encoded port and register types directly in of_device_id.data, instead of using a pointer to a structure. This saves memory and simplifies the source code, especially when adding more compatible entries later. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>