commit | 107b40ad04a902f3a70957134979bfb51118d440 | [log] [tgz] |
---|---|---|
author | Daeseok Youn <daeseok.youn@gmail.com> | Mon Aug 22 10:43:59 2016 +0900 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Sep 01 17:21:14 2016 +0200 |
tree | e447c888483ae20137bb7191576ffcc72c7b6887 | |
parent | 5d2b7c4a9dd649316e00bd320a05341d4b00ee33 [diff] |
staging: dgnc: check the type of print before calling The dgnc_maxcps_room() function must be called only for print device. The if-statement for checking print device checks before calling dgnc_maxcps_room() and also this function doesn't need to have any data except channel_t. Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>