From: Herbert Xu Date: Wed, 8 Jul 2015 23:17:15 +0000 (+0800) Subject: crypto: api - Add instance free function to crypto_type X-Git-Tag: omap-for-v4.3/fixes-merge-window~29^2~148 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=319382a6970899f02f18da4b0083a6e55942456d;p=pandora-kernel.git crypto: api - Add instance free function to crypto_type Currently the task of freeing an instance is given to the crypto template. However, it has no type information on the instance so we have to resort to checking type information at runtime. This patch introduces a free function to crypto_type that will be used to free an instance. This can then be used to free an instance in a type-safe manner. Signed-off-by: Herbert Xu --- Reading git-diff-tree failed