diff options
author | Geert Uytterhoeven | 2015-11-10 16:09:23 +0100 |
---|---|---|
committer | Geert Uytterhoeven | 2015-12-17 11:18:47 +0100 |
commit | bd2238fb84df6054d966364d07e0414b54ef8e19 (patch) | |
tree | 46fcbb02074a0c681f2566c9e3cbaa856710ed26 /block/blk-core.c | |
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>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions